Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendon Lees committed Jan 29, 2021
1 parent 6b30f83 commit 9152e6d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
36 changes: 21 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ npm install -g @anomalyhq/github-secrets-cli
$ ghs COMMAND
running command...
$ ghs (-v|--version|version)
@anomalyhq/github-secrets-cli/1.1.0 darwin-x64 node-v14.15.4
@anomalyhq/github-secrets-cli/1.2.0 darwin-x64 node-v14.15.4
$ ghs --help [COMMAND]
USAGE
$ ghs COMMAND
Expand All @@ -40,7 +40,7 @@ USAGE
* [`ghs secrets:get`](#ghs-secretsget)
* [`ghs secrets:remove`](#ghs-secretsremove)
* [`ghs secrets:set`](#ghs-secretsset)
* [`ghs secrets:sync [FILE]`](#ghs-secretssync-file)
* [`ghs secrets:sync FILE`](#ghs-secretssync-file)

## `ghs config:get`

Expand All @@ -51,7 +51,7 @@ USAGE
$ ghs config:get
```

_See code: [src/commands/config/get.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/config/get.ts)_
_See code: [src/commands/config/get.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/config/get.ts)_

## `ghs config:set`

Expand All @@ -67,7 +67,7 @@ OPTIONS
-t, --personalAccessToken=personalAccessToken Your GitHub Personal Access Token.
```

_See code: [src/commands/config/set.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/config/set.ts)_
_See code: [src/commands/config/set.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/config/set.ts)_

## `ghs help [COMMAND]`

Expand All @@ -84,7 +84,7 @@ OPTIONS
--all see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.1/src/commands/help.ts)_

## `ghs secrets:get`

Expand All @@ -101,7 +101,7 @@ OPTIONS
-t, --personalAccessToken=personalAccessToken Your GitHub Personal Access Token.
```

_See code: [src/commands/secrets/get.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/secrets/get.ts)_
_See code: [src/commands/secrets/get.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/secrets/get.ts)_

## `ghs secrets:remove`

Expand All @@ -120,7 +120,7 @@ OPTIONS
-y, --autoYes Skips user confirmation.
```

_See code: [src/commands/secrets/remove.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/secrets/remove.ts)_
_See code: [src/commands/secrets/remove.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/secrets/remove.ts)_

## `ghs secrets:set`

Expand All @@ -141,23 +141,29 @@ OPTIONS
-t, --personalAccessToken=personalAccessToken Your GitHub Personal Access Token.
```

_See code: [src/commands/secrets/set.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/secrets/set.ts)_
_See code: [src/commands/secrets/set.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/secrets/set.ts)_

## `ghs secrets:sync [FILE]`
## `ghs secrets:sync FILE`

describe the command here
Add/Update multiple secrets from one file.

```
USAGE
$ ghs secrets:sync [FILE]
$ ghs secrets:sync FILE
ARGUMENTS
FILE Path to the file to read from.
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
-b, --base64 base64 the values before encoding.
-f, --format=env|json|yaml (required) File format to parse secrets from.
-h, --help show CLI help
-o, --org=org Organisation the repo belongs to.
-r, --repo=repo Name of the repo.
-t, --personalAccessToken=personalAccessToken Your GitHub Personal Access Token.
```

_See code: [src/commands/secrets/sync.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.1.0/src/commands/secrets/sync.ts)_
_See code: [src/commands/secrets/sync.ts](https://github.com/anomaly/github-secrets-cli/blob/v1.2.0/src/commands/secrets/sync.ts)_
<!-- commandsstop -->


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anomalyhq/github-secrets-cli",
"description": "Github secrets manager",
"version": "1.1.0",
"version": "1.2.0",
"author": "Brendon Lees @brendon1555",
"bin": {
"ghs": "./bin/run"
Expand Down

0 comments on commit 9152e6d

Please sign in to comment.