Files
ubicloud/cli-commands/ai.rb
Jeremy Evans 045837597c Add cli ai api-key commands
The following commands are supported:

* ai api-key list
* ai api-key create
* ai api-key api-key-id show
* ai api-key api-key-id destroy

To get the golden files spec passing, add ApiKey.random_key, so it can
be overridden to provide a consistent key for the specs.
2025-05-03 03:33:32 +09:00

16 lines
312 B
Ruby

# frozen_string_literal: true
UbiCli.on("ai") do
desc "Manage AI features"
banner "ubi ai [command] ..."
# :nocov:
unless Config.production? || ENV["FORCE_AUTOLOAD"] == "1"
autoload_subcommand_dir("cli-commands/ai")
end
# :nocov:
end
Unreloader.record_dependency(__FILE__, "cli-commands/ai")