Skip to content

Adding adequate CLI examples for creating triggers #6002

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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

MeelahMe
Copy link
Contributor

Closes #5949

@MeelahMe MeelahMe linked an issue Apr 18, 2025 that may be closed by this pull request
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CLI documentation for deleting databases to include clearer examples of valid database names.

  • Updated the DATABASE_NAME argument description to specify acceptable naming conventions.
Comments suppressed due to low confidence (1)

content/shared/influxdb3-cli/delete/database.md:14

  • [nitpick] Consider clarifying the naming convention by explicitly stating that while the first character must be alphanumeric, subsequent characters may include dashes and underscores. For example, add a note indicating that dashes and underscores cannot be used as the first character.
- **DATABASE_NAME**: The name of the database to delete. Valid database names are alphanumeric and start with a letter or number. Dashes (`-`) and underscores (`_`) are allowed.

Copy link
Contributor

@jstirnaman jstirnaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work - just be sure to test your examples against the latest versions.

@MeelahMe MeelahMe removed the request for review from sanderson April 18, 2025 22:26
@MeelahMe MeelahMe requested a review from Copilot April 21, 2025 20:39
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CLI documentation to include comprehensive examples for creating triggers and related commands while removing outdated plugin references.

  • Removed old plugin documentation for delete and create commands.
  • Added example sections for the trigger, token, last_cache, and distinct_cache commands.
  • Updated reference files to reflect the removal of plugin docs.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
content/shared/influxdb3-cli/delete/plugin.md Removed outdated plugin deletion documentation
content/shared/influxdb3-cli/create/trigger.md Added CLI examples and removed the deprecated --plugin option
content/shared/influxdb3-cli/create/token.md Updated token command syntax and added admin token example
content/shared/influxdb3-cli/create/plugin.md Removed outdated plugin creation documentation
content/shared/influxdb3-cli/create/last_cache.md Added examples for creating a last value cache
content/shared/influxdb3-cli/create/distinct_cache.md Added examples for creating a distinct cache
content/influxdb3/core/reference/cli/influxdb3/delete/plugin.md Removed reference file for delete plugin documentation
content/influxdb3/core/reference/cli/influxdb3/create/plugin.md Removed reference file for create plugin documentation

@MeelahMe MeelahMe self-assigned this Apr 21, 2025
@MeelahMe MeelahMe marked this pull request as ready for review April 29, 2025 00:13
@MeelahMe MeelahMe marked this pull request as draft April 29, 2025 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add API reference examples to Influxdb3
2 participants