From 1e92cda9c6015198cd141aeb2b8efb0f2042f98e Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 11 Feb 2020 08:29:35 -0700 Subject: [PATCH] updated all find cli commands to list, resolves #753 --- .../organizations/buckets/delete-bucket.md | 2 +- .../organizations/buckets/update-bucket.md | 2 +- .../organizations/buckets/view-buckets.md | 8 ++++---- content/v2.0/organizations/delete-org.md | 2 +- .../v2.0/organizations/members/add-member.md | 2 +- .../organizations/members/remove-member.md | 2 +- content/v2.0/organizations/update-org.md | 2 +- content/v2.0/organizations/view-orgs.md | 10 +++++----- .../process-data/manage-tasks/delete-task.md | 2 +- .../process-data/manage-tasks/run-task.md | 4 ++-- .../manage-tasks/task-run-history.md | 6 +++--- .../process-data/manage-tasks/update-task.md | 2 +- .../process-data/manage-tasks/view-tasks.md | 8 ++++---- .../v2.0/reference/cli/influx/auth/_index.md | 2 +- .../cli/influx/auth/{find.md => list.md} | 17 +++++++++++------ .../reference/cli/influx/bucket/_index.md | 2 +- .../cli/influx/bucket/{find.md => list.md} | 17 +++++++++++------ .../v2.0/reference/cli/influx/org/_index.md | 2 +- .../cli/influx/org/{find.md => list.md} | 17 +++++++++++------ .../reference/cli/influx/secret/_index.md | 2 +- .../cli/influx/secret/{find.md => list.md} | 15 +++++++++------ .../v2.0/reference/cli/influx/task/_index.md | 2 +- .../cli/influx/task/{find.md => list.md} | 19 ++++++++++++------- .../reference/cli/influx/task/log/_index.md | 6 +++--- .../cli/influx/task/log/{find.md => list.md} | 17 +++++++++++------ .../reference/cli/influx/task/run/_index.md | 6 +++--- .../cli/influx/task/run/{find.md => list.md} | 17 +++++++++++------ .../v2.0/reference/cli/influx/user/_index.md | 2 +- .../cli/influx/user/{find.md => list.md} | 17 +++++++++++------ .../security/secrets/manage-secrets/view.md | 4 ++-- content/v2.0/security/tokens/create-token.md | 2 +- content/v2.0/security/tokens/view-tokens.md | 6 +++--- content/v2.0/users/change-password.md | 2 +- content/v2.0/users/create-user.md | 4 ++-- content/v2.0/users/delete-user.md | 2 +- content/v2.0/users/update-user.md | 2 +- content/v2.0/users/view-users.md | 6 +++--- 37 files changed, 139 insertions(+), 101 deletions(-) rename content/v2.0/reference/cli/influx/auth/{find.md => list.md} (63%) rename content/v2.0/reference/cli/influx/bucket/{find.md => list.md} (60%) rename content/v2.0/reference/cli/influx/org/{find.md => list.md} (52%) rename content/v2.0/reference/cli/influx/secret/{find.md => list.md} (56%) rename content/v2.0/reference/cli/influx/task/{find.md => list.md} (62%) rename content/v2.0/reference/cli/influx/task/log/{find.md => list.md} (55%) rename content/v2.0/reference/cli/influx/task/run/{find.md => list.md} (64%) rename content/v2.0/reference/cli/influx/user/{find.md => list.md} (50%) diff --git a/content/v2.0/organizations/buckets/delete-bucket.md b/content/v2.0/organizations/buckets/delete-bucket.md index db45745fa..6bc8a0aa1 100644 --- a/content/v2.0/organizations/buckets/delete-bucket.md +++ b/content/v2.0/organizations/buckets/delete-bucket.md @@ -27,7 +27,7 @@ to delete a bucket. Use the [`influx bucket delete` command](/v2.0/reference/cli/influx/bucket/delete) to delete a bucket. Deleting a bucket requires the following: -- The bucket ID _(provided in the output of `influx bucket find`)_ +- The bucket ID _(provided in the output of `influx bucket list`)_ - The name or ID of the organization to which the bucket belongs ```sh diff --git a/content/v2.0/organizations/buckets/update-bucket.md b/content/v2.0/organizations/buckets/update-bucket.md index 15cef3f05..ea9499252 100644 --- a/content/v2.0/organizations/buckets/update-bucket.md +++ b/content/v2.0/organizations/buckets/update-bucket.md @@ -49,7 +49,7 @@ If you change a bucket name, be sure to update the bucket in the above places as Use the [`influx bucket update` command](/v2.0/reference/cli/influx/bucket/update) to update a bucket. Updating a bucket requires the following: -- The bucket ID _(provided in the output of `influx bucket find`)_ +- The bucket ID _(provided in the output of `influx bucket list`)_ - The name or ID of the organization the bucket belongs to. ##### Update the name of a bucket diff --git a/content/v2.0/organizations/buckets/view-buckets.md b/content/v2.0/organizations/buckets/view-buckets.md index 5dd6e91a9..abc9b50b4 100644 --- a/content/v2.0/organizations/buckets/view-buckets.md +++ b/content/v2.0/organizations/buckets/view-buckets.md @@ -20,13 +20,13 @@ weight: 202 ## View buckets using the influx CLI -Use the [`influx bucket find` command](/v2.0/reference/cli/influx/bucket/find) -to view a buckets in an organization. +Use the [`influx bucket list` command](/v2.0/reference/cli/influx/bucket/list) +to view a buckets in an organization. ```sh -influx bucket find +influx bucket list ``` Other filtering options such as filtering by organization, name, or ID are available. -See the [`influx bucket find` documentation](/v2.0/reference/cli/influx/bucket/find) +See the [`influx bucket list` documentation](/v2.0/reference/cli/influx/bucket/list) for information about other available flags. diff --git a/content/v2.0/organizations/delete-org.md b/content/v2.0/organizations/delete-org.md index 7776c98dd..ff4829ce2 100644 --- a/content/v2.0/organizations/delete-org.md +++ b/content/v2.0/organizations/delete-org.md @@ -29,7 +29,7 @@ to delete an organization. Use the [`influx org delete` command](/v2.0/reference/cli/influx/org/delete) to delete an organization. Deleting an organization requires the following: -- The organization ID _(provided in the output of `influx org find`)_ +- The organization ID _(provided in the output of `influx org list`)_ ```sh # Syntax diff --git a/content/v2.0/organizations/members/add-member.md b/content/v2.0/organizations/members/add-member.md index 0521bb038..1992db240 100644 --- a/content/v2.0/organizations/members/add-member.md +++ b/content/v2.0/organizations/members/add-member.md @@ -30,7 +30,7 @@ _Complete content coming soon_ --> 1. Get a list of users and their IDs by running the following: ```sh -influx user find +influx user list ``` 2. To add a user to an organization, run the following command: diff --git a/content/v2.0/organizations/members/remove-member.md b/content/v2.0/organizations/members/remove-member.md index 2e74f76d0..9ec3a55f5 100644 --- a/content/v2.0/organizations/members/remove-member.md +++ b/content/v2.0/organizations/members/remove-member.md @@ -33,7 +33,7 @@ For information about deleting a user from InfluxDB, see [Delete a user](/v2.0/u Use the [`influx org members remove` command](/v2.0/reference/cli/influx/org/members/remove) to remove a member from an organization. Removing a member requires the following: -- The organization name or ID _(provided in the output of [`influx org find`](/v2.0/reference/cli/influx/org/find/))_ +- The organization name or ID _(provided in the output of [`influx org list`](/v2.0/reference/cli/influx/org/list/))_ - The member ID _(provided in the output of [`influx org members list`](/v2.0/reference/cli/influx/org/members/list/))_ ```sh diff --git a/content/v2.0/organizations/update-org.md b/content/v2.0/organizations/update-org.md index 2c3e14f11..fc4fbf834 100644 --- a/content/v2.0/organizations/update-org.md +++ b/content/v2.0/organizations/update-org.md @@ -38,7 +38,7 @@ If you change an organization name, be sure to update the organization in the ab Use the [`influx org update` command](/v2.0/reference/cli/influx/org/update) to update an organization. Updating an organization requires the following: -- The org ID _(provided in the output of `influx org find`)_ +- The org ID _(provided in the output of `influx org list`)_ ##### Update the name of a organization ```sh diff --git a/content/v2.0/organizations/view-orgs.md b/content/v2.0/organizations/view-orgs.md index c253d8ee7..a8dd4bf4d 100644 --- a/content/v2.0/organizations/view-orgs.md +++ b/content/v2.0/organizations/view-orgs.md @@ -23,15 +23,15 @@ to view organizations. ## View organizations using the influx CLI -Use the [`influx org find` command](/v2.0/reference/cli/influx/org/find) +Use the [`influx org list` command](/v2.0/reference/cli/influx/org/list) to view organizations. ```sh -influx org find +influx org list ``` Filtering options such as filtering by name or ID are available. -See the [`influx org find` documentation](/v2.0/reference/cli/influx/org/find) +See the [`influx org list` documentation](/v2.0/reference/cli/influx/org/list) for information about other available flags. ## View your organization ID @@ -46,10 +46,10 @@ http://localhost:9999/orgs/