Skip to content

Comments

Add new operation new cmd command#549

Merged
arbulu89 merged 1 commit intoworkbenchfrom
operator-cmd-workbench
Feb 17, 2026
Merged

Add new operation new cmd command#549
arbulu89 merged 1 commit intoworkbenchfrom
operator-cmd-workbench

Conversation

@arbulu89
Copy link
Contributor

Description

Last piece of the workbench import. Add the cmd option to run operators.
As this action is a sensitive thing, the operator subcommand is hidden.
At the end, it is more development and debug option more than a intended usage.

Run operator related commands

Usage:
  trento-agent operator [command]

Available Commands:
  list        List the available operators
  run         Run operator

Flags:
  -h, --help   help for operator

Global Flags:
      --config string           config file (default is $HOME/.trento.yaml)
      --log-level string        then minimum severity (error, warn, info, debug) of logs to output (default "info")
      --plugins-folder string   trento plugins folder (default "/usr/etc/trento/plugins/")

Use "trento-agent operator [command] --help" for more information about a command.

@arbulu89 arbulu89 force-pushed the operator-cmd-workbench branch from 479eac4 to 2210671 Compare February 16, 2026 16:30
@arbulu89 arbulu89 requested a review from gagandeepb February 17, 2026 07:29
@arbulu89 arbulu89 marked this pull request as ready for review February 17, 2026 07:29
@arbulu89 arbulu89 mentioned this pull request Feb 17, 2026
@arbulu89 arbulu89 merged commit 31737cf into workbench Feb 17, 2026
7 checks passed
@arbulu89 arbulu89 deleted the operator-cmd-workbench branch February 17, 2026 08:05
arbulu89 added a commit that referenced this pull request Feb 17, 2026
* Import dbus and systemd (#541)

* Import and merge dbus usage form workbench

* Import and merge systemd package from workbench

* Update NewSystemD signature to get logger as option

* Import utils code from workbench (#542)

* Add retry package as support code

* Improve logging utils with workbench code

* Update command executor to add CombinedOutput

* Import cluster core (#544)

* Replace cluster systemctl by existing systemd code

* Import workbench cluster pkg as cmdclient

* Add dosctring to IsActive and IsEnabled

* Import and merge sapcontrol code from workbench (#546)

* Import and merger saptune pkg code from workbench (#547)

* Import and merger saptune pkg code from workbench

* Use a custom type as saptune arg in gatherer

* Import and copy operators code from workbench (#548)

* Import and copy operators code from workbench

* Ignore dupl linter in operator tests

* Add new operation new cmd command (#549)

* Move workbench docs (#550)

* Move workbench docs

* Use imagesdir to set images folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants