Git Product home page Git Product logo

django_cli's Introduction

Django command line interface(CLI)

This CLI (Command Line Interface) is designed for Django developers to quickly and easily execute common Django management commands without typing out the full command each time. Users can simply enter a shorthand command into the CLI and the corresponding Django command will be executed.

The custom CLI, the user can simply enter rs instead of typing out the full python manage.py runserver command. This can save time and effort, especially for commands with longer names or that are frequently used. The CLI also includes error handling and support for passing arguments to certain commands.

rs 8080

sa app_naame

Installetion and Usage

  • Create a New python file in the root directory of your django project.
  • Copy and paste this code inside the file and save it.
  • Open terminal and run python file_name.py then it will display django_cli-> now our django CLI is running.
  • You can also use help command to see supported command.
  • You can enter any of the supported commands followed by any necessary arguments rs 8080

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This script was inspired by the Django CLI script in the Django Girls tutorial.

django_cli's People

Contributors

mini-m-py avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.