Skip to content

Commit

Permalink
add commands section in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marconetto committed Apr 26, 2024
1 parent ceef096 commit ec2b992
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
67 changes: 67 additions & 0 deletions docs/commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Commands


There are five hpcadvisor commands:

- `deploy`: operations related to a deployment
- `plot`: operation(s) related to generation of plots
- `collect`: operation(s) related to data collection (i.e. execution of tasks)
- `advice`: operations(s) related to generation of advice
- `gui`: trigger of the graphical user interface (gui) via browser

These commands can use the debug mode via `-d` flag.

A deployment is a resource group that contains all computing resources.

So in general the usage of the hpcadvisor is gonna be:





```
./hpcadvisor [-d] <command> [ <command parameters> ]
```

## deploy


Create a new deployment using user input from file (mandatory) and name of the
deployment (optional):

```
./hpcadvisor deploy create -u <ui_defaults_file> [-n <name>]
```

List deployments:

```
./hpcadvisor deploy list
```

Shutdown a deployment, which means deleting all resources and resource group.

```
./hpcadvisor deploy shutdown -n <name>
```

## collect

to-be-documented

## plot

to-be-documented

## advice

to-be-documented

## gui

to-be-documented


---


1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ nav:
- Quickstart: quickstart.md
- Examples: examples.md
- Configuration Files: configfiles.md
- Commands: commands.md

0 comments on commit ec2b992

Please sign in to comment.