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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file org_djangokit_cli-0.0.1.tar.gz.

File metadata

  • Download URL: org_djangokit_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for org_djangokit_cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 21d7d64449019c2afe7db4cf158ad1ccd4dbae7233fc25cecd28aee9877bedc0
MD5 36a8306822284f8b6dd6abfb7dd5aa90
BLAKE2b-256 7362bde9fc8f0778a0db31490c42b8cf326db3567d0788fb63efad6327de8481

See more details on using hashes here.

File details

Details for the file org_djangokit_cli-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for org_djangokit_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 613daa93c6b6de4a6ae0329a48f49b85b878d339c82a4dd3f570069e94bb0683
MD5 02c38e67796d4511fbff9b6f6c22804d
BLAKE2b-256 05f177f1fba01f67ac3bc26cd2fec202c77b54136860674229654dc0066a7ac7

See more details on using hashes here.

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