CLI Should have Create and Delete for sensors.
Open
Nobody has claimed this yet.
feature
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Currently, there is no way via the CLI to delete a sensor...or create one for that matter.
vagrant@st2vagrant:~/st2docs$ st2 sensor --help
usage: st2 sensor [-h] {list,get,enable,disable} ...
An adapter which allows you to integrate StackStorm with external system
positional arguments:
{list,get,enable,disable}
List of commands for managing sensortypes.
list Get the list of sensortypes.
get Get individual sensor.
enable Enable an existing sensor.
disable Disable an existing sensor.
optional arguments:
-h, --help show this help message and exit```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing st2 sensor CLI entry point and its list, get, enable, and disable subcommands shown in the issue. Determine how sensor management is currently wired before adding create and delete commands, and verify that st2 sensor --help documents both new operations and that they perform the requested actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100