Skip to content

feat: Add shell mode for autocompletion of commands.#118

Open
subkanthi wants to merge 1 commit intomasterfrom
add_repl_mode
Open

feat: Add shell mode for autocompletion of commands.#118
subkanthi wants to merge 1 commit intomasterfrom
add_repl_mode

Conversation

@subkanthi
Copy link
Collaborator

closes: #110

@subkanthi subkanthi changed the title Add shell mode for autocompletion of commands. feat: Add shell mode for autocompletion of commands. Feb 26, 2026
@subkanthi subkanthi added the ice Relates to ice label Feb 26, 2026
logger.error("Fatal", ex);
return 1;
});
if (args.length == 0) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

default into shell mode

Copy link
Collaborator

Choose a reason for hiding this comment

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

I often use ice with no args to show the help menu with commands. I can still use ice --help to avoid shell mode but how do I show the same help info when inside shell mode? The help command doesn't include flags like this:

Iceberg REST Catalog client.
  -c, --config=<configFile>
                  /path/to/config.yaml ($CWD/.ice.yaml by default)               

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thats exactly why I added this comment, because wasnt sure if this is right thing to default to shell mode, maybe I can remove the default for now

@subkanthi subkanthi requested a review from xieandrew March 6, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ice Relates to ice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ice CLI autocomplete doesnt work.

2 participants