Skip to main content

Cloudmesh Command bar

GitHub Repo image image License

General badge GitHub issues Contributors General badge

Linux macOS Windows

The cloudmesh command bar is a sample command so you can see how easy it is to generate a command. You can clone is and replace the "bar" with the command name you like.

However there is an easier way, with

pip install cloudmesh-sys

Now you need to clone the cloudmesh-common repo

git clone ...

Next you can generate comands in directories with

cms sys generate xyz

which will create a directory cloudmesh-xyz, where the new command xyz is defined. You can cd into that command and install it with

make local

::

Usage: bar --file=FILE bar list bar [--parameter=PARAMETER] [--experiment=EXPERIMENT] [COMMAND...]

This command does some useful things.

Arguments: FILE a file name PARAMETER a parameterized parameter of the form "a[0-3],a5"

Options: -f specify the file

Description:

> cms bar --parameter="a[1-2,5],a10"
>    example on how to use Parameter.expand. See source code at
>      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
>    prints the expanded parameter as a list
>    ['a1', 'a2', 'a3', 'a4', 'a5', 'a10']

> bar exp --experiment=a=b,c=d
> example on how to use Parameter.arguments_to_dict. See source code at
>      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
> prints the parameter as dict
>   {'a': 'b', 'c': 'd'}

Release files for cloudmesh-bar 5.0.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudmesh-bar 5.0.20
File Size Uploaded
cloudmesh-bar-5.0.20.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudmesh-bar 5.0.20
File Interpreter ABI Platform
cloudmesh_bar-5.0.20-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.3 kB

Release files / cloudmesh-bar-5.0.20.tar.gz

Download URL cloudmesh-bar-5.0.20.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
204f4f1103bb80dd94aedc18bf0a0ee2cfc0efdba38cac9ac35b0d0ddaa9c016
BLAKE2b-256 checksum
How to use checksums
4b99f2b8d8e7e1811809f1039024ddc8c28429ef0e46744bf7270c664d04e62a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / cloudmesh_bar-5.0.20-py2.py3-none-any.whl

Download URL cloudmesh_bar-5.0.20-py2.py3-none-any.whl
Size 5.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a432d8f75f3e2d7ef395811d19088b8b0cd95c88fedfa37fece485f677e10871
BLAKE2b-256 checksum
How to use checksums
69bccebb45150f367d98f54c547960a81fddb39efeb0f33ca185716f4df650c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

5.0.20 This release

2 release files

5.0.19

2 release files

5.0.18

2 release files

5.0.17

2 release files

5.0.1

2 release files

4.4.1

2 release files

4.3.6

2 release files

4.3.5

2 release files

4.3.4

2 release files

4.3.3

2 release files

4.3.2

2 release files

4.3.1

2 release files

4.1.3

2 release files

4.1.0

2 release files

1.4.23

2 release files

1.4.20

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page