Skip to content
This repository was archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #141 from IrmantasM/master
Browse files Browse the repository at this point in the history
Adding missing pages
  • Loading branch information
nickdgriffin authored Sep 16, 2016
2 parents 4177720 + 4d08016 commit 5d9a523
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 2 deletions.
51 changes: 50 additions & 1 deletion site/_docs/reference/cli/target.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,55 @@
---
layout: docs
chapter: Reference
chapter: Reference - CLI
title: target
permalink: /docs/reference/cli/target/
---

[Back to CLI Commands](/adop-docker-compose/docs/reference/cli/)

## Command

`./adop target <subcommand>`

Used for setting up environment variables to connect with ADOP stack.

## Subcommands

### set

<table style="font-size:12px">
<tr> <!-- Splitter -->
<th>Subcommand</th>
<th></th>
</tr>
<tr>
<td style="white-space: nowrap">set [&#60;options>]</td>
<td>Sets the environment variables to point to ADOP stack.</td>
</tr>
<tr> <!-- Splitter -->
<th>Option</th>
<th></th>
</tr>
<tr>
<td style="white-space: nowrap">-t [&#60;ENDPOINT>]</td>
<td>Sets the endpoint URL to connect to ADOP stack, where <b>&#60;ENDPOINT></b> the URL to ADOP stack (required) (hint: https://54.77.198.55/).</td>
</tr>
<tr>
<td style="white-space: nowrap">-u [&#60;USERNAME>]</td>
<td>Sets the username required for authentication with ADOP stack, where <b>&#60;USERNAME></b> the username with permissions to access ADOP stack (required).</td>
</tr>
<tr>
<td style="white-space: nowrap">-p [&#60;PASSWORD>]</td>
<td>Sets the password required for authentication with ADOP stack, where <b>&#60;PASSWORD></b> the password with permissions to access ADOP stack (required).</td>
</tr>
</table>

### unset

Unsets the environment variables pointing to ADOP stack.

### help

Prints out help information.

## Examples [WIP]
58 changes: 57 additions & 1 deletion site/_docs/reference/cli/workspace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,62 @@
---
layout: docs
chapter: Command Line Interface
chapter: Reference - CLI
title: workspace
permalink: /docs/reference/cli/workspace/
---

[Back to CLI Commands](/adop-docker-compose/docs/reference/cli/)

## Command

`./adop workspace [<options>] <subcommand>`

Used for setting up workspaces to store projects.

## Options

<table style="font-size:12px">
<tr> <!-- Splitter -->
<th>Option</th>
<th></th>
</tr>
<tr>
<td style="white-space: nowrap"> -w &#60;WORKSPACE_NAME> </td>
<td>Sets the name for the workspace, where <b>&#60;WORKSPACE_NAME></b> is the name of the workspace that you are creating (required).</td>
</tr>
</table>

## Subcommands

### create

<table style="font-size:12px">
<tr> <!-- Splitter -->
<th>Subcommand</th>
<th></th>
</tr>
<tr>
<td style="white-space: nowrap">create [&#60;options>]</td>
<td>Creates a new workspace in Jenkins.</td>
</tr>
<tr> <!-- Splitter -->
<th>Option</th>
<th></th>
</tr>
<tr>
<td style="white-space: nowrap">-a [&#60;ADMIN_USERS>]</td>
<td>Sets users with admin permissions on the workspace, where <b>&#60;ADMIN_USERS></b> is a comma separated list of users (optional) (default: blank).</td>
</tr>
<tr>
<td style="white-space: nowrap">-d [&#60;DEVELOPER_USERS>]</td>
<td>Sets users with developer permissions on the workspace, where <b>&#60;DEVELOPER_USERS></b> is a comma separated list of users (optional) (default: blank).</td>
</tr>
<tr>
<td style="white-space: nowrap">-v [&#60;VIEWER_USERS>]</td>
<td>Sets users with viewer (read-only) permissions on the workspace, where <b>&#60;VIEWER_USERS></b> is a comma separated list of users (optional) (default: blank).</td>
</tr>
</table>

## Examples [WIP]

`./adop workspace -w <WORKSPACE_NAME> create [<options>]` - creates a new workspace in Jenkins.

0 comments on commit 5d9a523

Please sign in to comment.