Skip to content

Commit

Permalink
Flytectl Doc fixes (#38)
Browse files Browse the repository at this point in the history
* Flytectl Doc fixes

* removed tab characters

Co-authored-by: pmahindrakar <pmahindrakar@vmware.com>
  • Loading branch information
pmahindrakar-oss and pmahindrakar committed Feb 25, 2021
1 parent a2c4dd3 commit 3eb2ea3
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions flytectl/cmd/create/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ Create the projects.(project,projects can be used interchangeably in these comma
bin/flytectl create project --name flytesnacks --id flytesnacks --description "flytesnacks description" --labels app=flyte
Create Project by definition file
Create Project by definition file. Note: The name shouldn't contain any whitespace characters'
::
bin/flytectl create project --file project.yaml
.. code-block:: yaml
id: "project-unique-id"
name: "Friendly name"
labels:
app: flyte
description: "Some description for the project"
id: "project-unique-id"
name: "Name"
labels:
app: flyte
description: "Some description for the project"
`
)
Expand Down
2 changes: 1 addition & 1 deletion flytectl/cmd/get/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Retrieves execution by name within project and domain.
::
bin/flytectl execution -p flytesnacks -d development oeh94k9r2r
bin/flytectl get execution -p flytesnacks -d development oeh94k9r2r
Retrieves execution by filters
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/cmd/get/launch_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Retrieves launch plan by name within project and domain.
::
bin/flytectl launchplan -p flytesnacks -d development recipes.core.basic.lp.my_wf
bin/flytectl get launchplan -p flytesnacks -d development core.basic.lp.go_greet
Retrieves launchplan by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/cmd/get/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Retrieves task by name within project and domain.
::
bin/flytectl task -p flytesnacks -d development square
bin/flytectl task -p flytesnacks -d development core.basic.lp.greet
Retrieves project by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/cmd/get/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Retrieves workflow by name within project and domain.
::
bin/flytectl workflow -p flytesnacks -d development recipes.plugins.k8s_spark.pyspark_pi.my_spark
bin/flytectl get workflow -p flytesnacks -d development core.basic.lp.go_greet
Retrieves workflow by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/cmd/update/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Archives project named flytesnacks.
::
bin/flytectl get project flytesnacks --archiveProject
bin/flytectl update project -p flytesnacks --archiveProject
Activates project named flytesnacks using short option -t.
::
Expand Down
12 changes: 6 additions & 6 deletions flytectl/docs/source/gen/flytectl_create_project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ Create the projects.(project,projects can be used interchangeably in these comma

bin/flytectl create project --name flytesnacks --id flytesnacks --description "flytesnacks description" --labels app=flyte

Create Project by definition file
Create Project by definition file. Note: The name shouldn't contain any whitespace characters'
::

bin/flytectl create project --file project.yaml

.. code-block:: yaml
id: "project-unique-id"
name: "Friendly name"
labels:
app: flyte
description: "Some description for the project"
id: "project-unique-id"
name: "Name"
labels:
app: flyte
description: "Some description for the project"
Expand Down
2 changes: 1 addition & 1 deletion flytectl/docs/source/gen/flytectl_get_execution.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Retrieves execution by name within project and domain.

::

bin/flytectl execution -p flytesnacks -d development oeh94k9r2r
bin/flytectl get execution -p flytesnacks -d development oeh94k9r2r

Retrieves execution by filters
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/docs/source/gen/flytectl_get_launchplan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Retrieves launch plan by name within project and domain.

::

bin/flytectl launchplan -p flytesnacks -d development recipes.core.basic.lp.my_wf
bin/flytectl get launchplan -p flytesnacks -d development core.basic.lp.go_greet

Retrieves launchplan by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/docs/source/gen/flytectl_get_task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Retrieves task by name within project and domain.

::

bin/flytectl task -p flytesnacks -d development square
bin/flytectl task -p flytesnacks -d development core.basic.lp.greet

Retrieves project by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/docs/source/gen/flytectl_get_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Retrieves workflow by name within project and domain.

::

bin/flytectl workflow -p flytesnacks -d development recipes.plugins.k8s_spark.pyspark_pi.my_spark
bin/flytectl get workflow -p flytesnacks -d development core.basic.lp.go_greet

Retrieves workflow by filters.
::
Expand Down
2 changes: 1 addition & 1 deletion flytectl/docs/source/gen/flytectl_update_project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Archives project named flytesnacks.

::

bin/flytectl get project flytesnacks --archiveProject
bin/flytectl update project -p flytesnacks --archiveProject

Activates project named flytesnacks using short option -t.
::
Expand Down

0 comments on commit 3eb2ea3

Please sign in to comment.