Skip to content

Commit

Permalink
Updates to resource create flags (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares authored Dec 16, 2022
1 parent 4b2a382 commit b29ec25
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/cmd/md/meroxa_resources_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ $ meroxa resource create sourcedb \
--ssh-private-key string SSH tunneling private key
--ssh-url string SSH tunneling address
--ssl use SSL
--token string API Token
--type string resource type (required)
-u, --url string resource url (required)
-u, --url string resource url
--username string username
```

Expand Down
3 changes: 2 additions & 1 deletion docs/cmd/www/meroxa-resources-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ $ meroxa resource create sourcedb \
--ssh-private-key string SSH tunneling private key
--ssh-url string SSH tunneling address
--ssl use SSL
--token string API Token
--type string resource type (required)
-u, --url string resource url (required)
-u, --url string resource url
--username string username
```

Expand Down
4 changes: 2 additions & 2 deletions etc/completion/meroxa.completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,8 @@ _meroxa_resources_create()
flags+=("--ssh-url=")
two_word_flags+=("--ssh-url")
flags+=("--ssl")
flags+=("--token=")
two_word_flags+=("--token")
flags+=("--type=")
two_word_flags+=("--type")
flags+=("--url=")
Expand All @@ -1748,8 +1750,6 @@ _meroxa_resources_create()

must_have_one_flag=()
must_have_one_flag+=("--type=")
must_have_one_flag+=("--url=")
must_have_one_flag+=("-u")
must_have_one_noun=()
noun_aliases=()
}
Expand Down
6 changes: 5 additions & 1 deletion etc/man/man1/meroxa-resources-create.1
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ Use the create command to add resources to your Meroxa resource catalog.
\fB--ssl\fP[=false]
use SSL

.PP
\fB--token\fP=""
API Token

.PP
\fB--type\fP=""
resource type (required)

.PP
\fB-u\fP, \fB--url\fP=""
resource url (required)
resource url

.PP
\fB--username\fP=""
Expand Down

0 comments on commit b29ec25

Please sign in to comment.