Skip to main content

DjangoKit command line interface

Project description

DjangoKit CLI

This package provides the DjangoKit command line interface. When it's installed, it will install the djangokit console script.

To see a list of commands, run djangokit without any arguments (or use the dk alias as shown here):

dk

To run a Django management command:

dk manage <args>

Configuring the CLI

The DjangoKit CLI can be configured via global options passed to the djangokit base command or via environment variables, which can be added to your project's .env file(s). Using env vars is useful when you want to change a default permanently.

  • --env / ENV: Specify the environment to run commands in.

  • --dotenv-path / DOTENV_PATH: Path to .env file. This will be derived from ENV if not specified.

  • --settings-module / DJANGO_SETTINGS_MODULE: Specify the Django settings module.

  • --additional_settings_module / DJANGO_ADDITIONAL_SETTINGS_MODULE: Specify an additional Django settings module that will be loaded after (and override) the base settings module.

  • --typescript / DJANGOKIT_CLI_USE_TYPESCRIPT: Since using TypeScript is the default, you can use this to disable TypeScript. This will affect how files are generated, for example (e.g. when using dk add-page).

  • --quiet / DJANGOKIT_CLI_QUIET: Squelch stdout.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

org_djangokit_cli-0.0.1.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

org_djangokit_cli-0.0.1-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page