Metadata-Version: 2.5
Name: django-auth-cli-CERTIC
Version: 0.1.8
Summary: Outils CLI pour gestion des utilisateurs dans Django
Project-URL: Repository, https://git.unicaen.fr/certic/django-auth-cli-tools
Project-URL: Homepage, https://www.certic.unicaen.fr
Author-email: Mickaël Desfrênes <mickael.desfrenes@unicaen.fr>
Maintainer-email: Mickaël Desfrênes <mickael.desfrenes@unicaen.fr>, Arnaud Daret <arnaud.daret@unicaen.fr>
License-Expression: CECILL-C
License-File: LICENSE.txt
Requires-Python: >=3.13
Requires-Dist: django<6.2,>=6.1.2
Description-Content-Type: text/markdown

# Django Auth CLI Tools

Collection de scripts Django pour gérer les utilisateurs en ligne de commande

## installation

Installation via Pip :

    pip install django-auth-cli-certic

Ou via Poetry :

    poetry add django-auth-cli-certic

Puis ajouter `authcli.apps.AuthcliConfig` dans le `settings.py` de votre projet Django :

    INSTALLED_APPS = [
        [...]
        "authcli.apps.AuthcliConfig",
    ]

## Commandes disponibles

    groupadd
    groupdetails
    groupmembers
    groupslist
    useractivate
    useradd
    userdeactivate
    userdetails
    usergroupadd
    usergroupremove
    userslist

Pour le détail des arguments à passer et l'aide, utiliser `--help`. Exemple (si utilisation via Poetry):

    (django-auth-cli-OWiiotrM-py3.9) code/djangoplayground [master L|…4]: poetry run python manage.py userslist --help
    usage: manage.py userslist [-h] [-a] [-j] [-t] [-s SEPARATOR] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color]
                               [--force-color] [--skip-checks]
    
    optional arguments:
      -h, --help            show this help message and exit
      -a, --active          afficher uniquement les utilisateurs actifs
      -j, --json            afficher les données en JSON
      -t, --tabulate        afficher les données tabulées
      -s SEPARATOR, --separator SEPARATOR
                            séparateur de champs
      --version             Show program's version number and exit.
      -v {0,1,2,3}, --verbosity {0,1,2,3}
                            Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
      --settings SETTINGS   The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable
                            will be used.
      --pythonpath PYTHONPATH
                            A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".
      --traceback           Raise on CommandError exceptions.
      --no-color            Don't colorize the command output.
      --force-color         Force colorization of the command output.
      --skip-checks         Skip system checks.
