This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved documentation site with new UI and more explanation
- Loading branch information
Showing
13 changed files
with
890 additions
and
598 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<header id="header-site"> | ||
<div class="wrap"> | ||
<h1>Jobson</h1> | ||
<nav> | ||
<a href="index.html">docs</a> | ||
<a href="https://github.com/adamkewley/jobson">source</a> | ||
<a href="https://github.com/adamkewley/jobson/releases">download</a> | ||
</nav> | ||
</div> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<ul> | ||
<li><a href="index.html">Overview</a></li> | ||
<li><a href="quickstart.html">Quickstart</a></li> | ||
<li><a href="https://github.com/adamkewley/jobson">Install</a></li> | ||
<li><a href="commandline.html">Command-Line Interface</a></li> | ||
<li><a href="workspaces.html">Workspaces</a></li> | ||
<li><a href="specs.html">Job Specs</a></li> | ||
<li><a href="template-expressions.html">Template Expressions</a></li> | ||
<li><a href="server-configuration.html">Server Configuration</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: default | ||
title: Command-Line Interface | ||
--- | ||
|
||
The command-line interface (CLI) for Jobson, `jobson`, contains | ||
commands aimed at day-to-day development and administration of | ||
Jobson. The CLI is available once jobson has been | ||
[installed](https://github.com/adamkewley/jobson). | ||
|
||
|
||
## Viewing Help with `--help` | ||
|
||
Pass the `--help` argument to `jobson` to view the help documentation | ||
for a particular command. | ||
|
||
```bash | ||
$ jobson --help | ||
usage: java -jar jobson-0.0.11.jar | ||
[-h] [-v] {server,check,new,generate,users,validate,run} ... | ||
|
||
positional arguments: | ||
{server,check,new,generate,users,validate,run} | ||
available commands | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
-v, --version show the application version and exit | ||
``` | ||
|
||
|
||
The `--help` argument also works with the other subcommands: | ||
|
||
```bash | ||
$ jobson new --help | ||
usage: java -jar jobson-0.0.11.jar | ||
new [--demo] [-h] | ||
|
||
generate a new jobson deployment in the current working directory | ||
|
||
optional arguments: | ||
--demo Generate application with a demo spec (default: false) | ||
-h, --help show this help message and exit | ||
``` | ||
|
||
|
||
HELP TODO: The in-CLI documentation explains the commands, but having | ||
the documentation here also would be useful to devs. |
Oops, something went wrong.