DTaaS CLI
Project description
DTaaS Command Line Interface
This is a command line tool for the INTO-CPS-Association Digital Twins as a Service.
Prerequisite
Please visit and download the DTaaS Tool.
The DTaaS service with base users and essential containers should be up and running before using the CLI.
Installation
Simply install using:
We recommend installing this in a virutal environment.
Steps to install:
- Change the working folder:
cd <DTaaS-directory>/cli
- Recommended (for windows) to install this in a virtual environment
python -m venv env
env\Scripts\activate
- To install, simply:
pip install dtaas-cli
Usage
Setup
Setup the dtaas.toml file in the cli directory, edit the fields appropriately.
Add users
To add new users using the CLI, fill in the users.add list in dtaas.toml with the Gitlab instance usernames of the users to be added
Then simply:
dtaas admin user add
Delete users
TO delete existing users, fill in the users.delete list in dtaas.toml_ with the Gitlab instance usernames of the users to be deleted.
Then simply:
dtaas admin user delete
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
Built Distribution
File details
Details for the file dtaas_cli-0.1.4.tar.gz
.
File metadata
- Download URL: dtaas_cli-0.1.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.0-60-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87dd9921c348842f3d35f00bc5b3bbabc6c08805e41bf4fe76f805acc6059c51 |
|
MD5 | aaa1735910dd6d3a4e7272bff433aba8 |
|
BLAKE2b-256 | 62dd9d5f45821bd3f5a1fca34162d72704523afd875508deeb0a9914e6d53579 |
File details
Details for the file dtaas_cli-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: dtaas_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.0-60-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff19baed1bcd36538e6737ab4159aac02ccc9bd6bf1131fd92c5e9820b58217e |
|
MD5 | 2292cd8ddbf3434084ad67ace9c9746a |
|
BLAKE2b-256 | 20ac0d4011ebcb205c86e1b0154c8ff89d83a7990d774b828b21a1c0c518a437 |