No project description provided
Project description
Capco Command Line Interface (Capco-Cli)
Capco-cli is a tool used to generates the file structures with relevant code snippets based on the selected templates.
Installing capoc-cli
-
Install python using homebrew or by visiting (https://www.python.org/downloads/)
- pip install capco-cli
-
To view the list of all the available templates in the bitbucket repository(this may required you to login using your bitbucket profile), run the following:
- capco templates list
-
To view all the list of configurable options
- capco templates inspect
-
To build the capco-template application, run the following:
- capco projects create --template --target_dir PATH.
-
To add configurable options i.e.
- capco projects create --template --option database=NAME –target_dir PATH You can view list of all the configurable options by running
- capco templates inspect
For more help run:
- capco --help
Folder structure for the templates
common: This folder only consists of the files which are similar across all the templates. Folder Structure
-
common
- files – Files that are common across all the different templates i.e. .gitignore, docker-compose.yml
- files.yml – Source and destination path for the common files.
- info.yml – Any configurable options are added here.
-
template-name
- files – Required files and folders for the template
- file.yml – Source and target destination for the files.
- info.yml – All the configurable options for the templates i.e. database, message broker.
More detail about files.yml and info.yml can be found in https://bitbucket.org/ilabs-capco/capco-cli/src/master/docs/
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
File details
Details for the file capco-cli-0.0.10.tar.gz.
File metadata
- Download URL: capco-cli-0.0.10.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05562f3f7bce6d5cf10866a856f93f21d47821d24abc42002f6aab07b4554369
|
|
| MD5 |
263c52c23599d37cd6743e2b6f9e5651
|
|
| BLAKE2b-256 |
4600697e0aa4dcb1a17144c9aa65711261c2d183c4b77e3ff8d207049cdd9c3d
|