-
-
Notifications
You must be signed in to change notification settings - Fork 944
Rework CLI commands to be composable via piping #1522
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
Copilot
wants to merge
23
commits into
prime
Choose a base branch
from
copilot/rework-cli-commands-composability
base: prime
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
716ea79
Initial plan
Copilot efb371f
Rework CLI commands to be composable: pipe channels to export, remove…
Copilot 6750195
Address code review: fix Snowflake.TryParse usage and remove blank li…
Copilot 16ecb28
Clarify DISCORD_TOKEN env var tip in documentation
Copilot 0e3b455
Restructure commands: list channels/guilds subcommands with positiona…
Copilot f3638ec
Add stub 'list' command that errors with help text when executed
Copilot 55c06ef
Add dce.sh/dce.bat alias scripts and update docs with inline DISCORD_…
Copilot 5c86beb
Update ListCommand error message and use dce alias throughout CLI docs
Copilot a31629f
Fix docs: put positional params before options per CliFx convention
Copilot 1087173
Rename dce.sh to dce and update docs to use dce/dce.bat without exten…
Copilot 316e8c6
Simplify stdin reading: use ReadAllLinesAsync extension and Snowflake…
Copilot f656234
Refine ReadLinesAsync: pattern matching, rename, cancellation token
Copilot cbf74ba
Use `using System.Runtime.CompilerServices` instead of fully-qualifie…
Copilot 245b368
Move Trim() from ReadLinesAsync to call site in ExportChannelsCommand
Copilot 4ec8fae
Rename 'list guilds' to 'list servers'; use 'servers' in all user-fac…
Copilot 89407c1
Add .ConfigureAwait(false) to ReadLinesAsync; remove IsNullOrWhiteSpa…
Copilot b0ee4ba
list commands always output JSON; add CliJsonSerializerContext + Snow…
Copilot 948ceba
docs: use -short|--long convention for option names in prose text
Copilot 7f08641
Update error message for missing channel IDs
Tyrrrz f8ab926
Add 'list unwrap' command; remove category unwrapping from export; ad…
Copilot 1835af1
Fix: catch JsonException in list unwrap; improve export error message
Copilot f6e7109
Fix export JSON detection to use numeric check; rename GuildIds to Se…
Copilot ea0b47f
Expand list unwrap to also resolve forum channels to thread posts
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.