-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring Replicated CLI docs up-to-date #2955
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
51a08ec
Bring Replicated CLI docs up-to-date
paigecalvert f2e3ab5
adding missing commands
paigecalvert fbec12a
adding global flags
paigecalvert ba442bd
add global flags
paigecalvert 7333187
formatting
paigecalvert fc538d4
add replicated version
paigecalvert 0f16d5e
consistent formatting
paigecalvert 813c208
Merge branch 'main' into 116921
paigecalvert a82e4a3
edits
paigecalvert 916256c
edits
paigecalvert aa197ca
update release create and update
paigecalvert 648c6d9
add version upgrade topic
paigecalvert c7238b4
add docs for default
paigecalvert 5e8e1d3
unhide commands and update download docs
paigecalvert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,24 @@ | ||
import Help from "./_help.mdx" | ||
import App from "./_app.mdx" | ||
import Token from "./_token.mdx" | ||
|
||
<table> | ||
<tr> | ||
<th width="30%">Flag</th> | ||
<th width="20%">Type (if applicable)</th> | ||
<th width="50%">Description</th> | ||
</tr> | ||
<App/> | ||
<Help/> | ||
<tr> | ||
<td>`--integration-test`</td> | ||
<td>string</td> | ||
<td>Set to the name of the integration test to run.</td> | ||
</tr> | ||
<tr> | ||
<td>`--log-api-calls`</td> | ||
<td>string</td> | ||
<td>Log the API calls to the specified file.</td> | ||
</tr> | ||
<Token/> | ||
</table> | ||
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,23 @@ | ||
import GlobalFlags from "../partials/replicated-cli/_global-flags.mdx" | ||
|
||
# api get | ||
|
||
Make adhoc GET requests to the Vendor API v3. Uses your local credentials and prints the response unmodified. For more information, see the [Vendor API v3 documentation](https://replicated-vendor-api.readme.io/reference/createapp). | ||
|
||
## Usage | ||
|
||
```bash | ||
replicated api get [PATH] | ||
``` | ||
|
||
Pass the PATH of the request as the final argument. Do not include the host or version. Replicated recommends piping the output to jq for easier reading. | ||
|
||
## Global Flags | ||
|
||
<GlobalFlags/> | ||
|
||
## Example | ||
|
||
```bash | ||
replicated api get /v3/apps | ||
``` |
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,17 @@ | ||
import GlobalFlags from "../partials/replicated-cli/_global-flags.mdx" | ||
|
||
# api patch | ||
|
||
Make adhoc PATCH requests to the Vendor API v3. Uses your local credentials and prints the response unmodified. For more information, see the [Vendor API v3 documentation](https://replicated-vendor-api.readme.io/reference/createapp). | ||
|
||
## Usage | ||
|
||
```bash | ||
replicated api patch [PATH] | ||
``` | ||
|
||
Pass the PATH of the request as the final argument. Do not include the host or version. Replicated recommends piping the output to jq for easier reading. | ||
|
||
## Global Flags | ||
|
||
<GlobalFlags/> |
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,23 @@ | ||
import GlobalFlags from "../partials/replicated-cli/_global-flags.mdx" | ||
|
||
# api post | ||
|
||
Make adhoc POST requests to the Vendor API v3. Uses your local credentials and prints the response unmodified. For more information, see the [Vendor API v3 documentation](https://replicated-vendor-api.readme.io/reference/createapp). | ||
|
||
## Usage | ||
|
||
```bash | ||
replicated api post [PATH] | ||
``` | ||
|
||
Pass the PATH of the request as the final argument. Do not include the host or version. Replicated recommends piping the output to jq for easier reading. | ||
|
||
## Global Flags | ||
|
||
<GlobalFlags/> | ||
|
||
## Example | ||
|
||
```bash | ||
replicated api post /v3/app/2EuFxKLDxKjPNk2jxMTmF6Vxvxu/channel -b '{"name":"post-example"}' | ||
``` |
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,23 @@ | ||
import GlobalFlags from "../partials/replicated-cli/_global-flags.mdx" | ||
|
||
# api put | ||
|
||
Make adhoc PUT requests to the Vendor API v3. Uses your local credentials and prints the response unmodified. For more information, see the [Vendor API v3 documentation](https://replicated-vendor-api.readme.io/reference/createapp). | ||
|
||
## Usage | ||
|
||
```bash | ||
replicated api put [PATH] | ||
``` | ||
|
||
Pass the PATH of the request as the final argument. Do not include the host or version. Replicated recommends piping the output to jq for easier reading. | ||
|
||
## Global Flags | ||
|
||
<GlobalFlags/> | ||
|
||
## Example | ||
|
||
```bash | ||
replicated api put /v3/app/2EuFxKLDxKjPNk2jxMTmF6Vxvxu/channel/2QLPm10JPkta7jO3Z3Mk4aXTPyZ -b '{"name":"put-example"}' | ||
``` |
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add new partial to bring the global flags to every topic