Skip to main content

cam CLI is a command-line tool for creating boilerplate code for various types of applications

Project description

cam cli

cam cli is a command-line tool for creating boilerplate code for various types of applications including vanilla JavaScript frontend web apps, Python module, Flask app, and etc.

Installation

You can install cam cli using pip and pip3:

pip3 install cam-cli-tool

Command list

  • cam create-js-app .
  • cam create-py-module .
  • cam create-flask-app .
  • cam create-js-app <app_name>
  • cam create-py-module <app_name>
  • cam create-flask-app <app_name>
  • cam run

note: . mains create app in current directory.

Usage

Once installed, you can use the following commands to create different types of applications:

Create a Vanilla JavaScript Frontend Web App

Command

cam create-js-app <app_name>

Nagivate to <app_name> directory

cam run

it will start the development server.

Directory tree

app_name/
│
├── assets/
│   ├── icons/
|   |   └── favicon.svg
|   └── images/
|
├── meta/
│   ├── config_script.js
│   └── config_styles.css
|
├── src/
│   ├── index.js
│   └── other_js_files
|
├── styles/
│   ├── styles.css
│   └── other_css_files
|
├── .gitignore
├── index.html
├── LICENSE.txt
└── README.md

Create a Python Module

Command

cam create-py-module <module_name>

Nagivate to <app_name> directory

cam run

it will run the python module for testing.

Directory tree

module_name/
│
├── docs/
|   └── index.md
|
├── module_name/
│   ├── utils/
|   |   └── __init__.py
│   ├── __init__.py
│   └── main.py
|
├── tests/
│   └── test.py
|
├── config.py
├── .gitignore
├── LICENSE.txt
├── README.md
└── requirements.txt

Create a Flask App

Command

admin create-flask-app <app_name>

Nagivate to <app_name> directory

cam run

it will start the flask development server.

Directory tree

flask_app_name/
│
├── docs/
|   └── index.md
|
├── src/
│   ├── __init__.py
│   ├── views.py
│   ├── models.py
│   ├── forms.py
│   ├── static/
│   │   ├── css/
│   │   |    └── style.css
|   |   ├── images/
|   |   ├── icons/
|   |   └── js/
|   |       └── script.html
│   ├── templates/
│   │   ├── base.html
│   │   └── home.html
│   └── utils/
│       └── helper_functions.py
│
├── tests/
│   └── test.py
│
├── config.py
├── .gitignore
├── LICENSE.txt
├── README.md
├── run.py
└── requirements.txt

Contributing

Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.

License

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

Author

If you have any questions or need assistance with this project, please contact Shailesh at shaileshpandit141@gmail.com.

Thank you for using cam cli.

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

cam_cli_tool-0.2.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cam_cli_tool-0.2.5-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file cam_cli_tool-0.2.5.tar.gz.

File metadata

  • Download URL: cam_cli_tool-0.2.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cam_cli_tool-0.2.5.tar.gz
Algorithm Hash digest
SHA256 1ede27bd58b3ef5c4f273773d37979eb8949950c5bc7029d1038afacd9114f30
MD5 e1925d186ac367550dc681997b8b43dd
BLAKE2b-256 292c75e4fe09d06fc8f0570168dd15a66072fdb2fb42c570ed9e7e9607891a1c

See more details on using hashes here.

File details

Details for the file cam_cli_tool-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: cam_cli_tool-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cam_cli_tool-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3ce4cbd234790889f1a35e01cb4c216e81d92555398d3408528616beaa2aa7
MD5 9a5964db14ca58ea261ce93ac995d60d
BLAKE2b-256 949d9029b5d02af44acf77d53708c84d8a37a5aa674b53c91d63d598fde1da34

See more details on using hashes here.

Supported by

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