-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Description
Describe the feature or problem you’d like to solve
Most often, we like to share gists, but not the (sensible) information about local Path to the source file.
But commands like gh gist create --public 'c:\MyProject\MyModule\MyFile.ps1' automatically creates the gist filename c:\MyProject\MyModule\MyFile.ps1 😞
Of course, it should be possible to not only define the description (using -d), but also the published file name.
Proposed solution
Please allow us to define the Filename for the created Gist, too. For example:
gh gist create --public 'c:\…\MyFile.ps1' -d 'Description' -name 'MyFile.ps1'
How will it benefit CLI and its users?
At the moment, the CLI offers just a very small subset of the Web interface functions and almost always as we use GitHub CLI, we have to switch to the Web browser and complete the task 😢. It would be very useful we could start and complete any task using the CLI.