Skip to content

cloudmesh/cloudmesh-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc8fa26 · Jan 10, 2024

History

6 Commits
Dec 23, 2023
Dec 23, 2023
Dec 23, 2023
Jan 10, 2024
Dec 24, 2023
Dec 23, 2023
Dec 23, 2023
Dec 23, 2023
Dec 23, 2023
Dec 23, 2023
Dec 26, 2023
Dec 23, 2023
Dec 23, 2023
Dec 23, 2023

Repository files navigation

Cloudmesh Command windows

GitHub Repo image image License

General badge GitHub issues Contributors General badge

Linux macOS Windows

The cloudmesh command windows is a sample command so you can see how easy it is to generate a command. You can clone is and replace the "windows" 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: windows --file=FILE windows list windows [--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 windows --parameter="a[1-2,5],a10"
>    example on how to use Parameter.expand. See source code at
>      https://github.com/cloudmesh/cloudmesh-windows/blob/main/cloudmesh/windows/command/windows.py
>    prints the expanded parameter as a list
>    ['a1', 'a2', 'a3', 'a4', 'a5', 'a10']

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

cloudmesh-windows

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published