Skip to main content

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

dtaas_cli-0.1.4.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

dtaas_cli-0.1.4-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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