SmartBear-DevRel / explore-cli

Simple utility CLI for importing and exporting data to and from SwaggerHub Explore
https://www.nuget.org/packages/Explore.Cli
Apache License 2.0
5 stars 4 forks source link

Add "exportPath" and "exportName" options to `Export-Spaces` #13

Closed Yousef-Majidi closed 1 year ago

Yousef-Majidi commented 1 year ago

I've added 2 new options: -ep, --export-path and -en, --export-name and modified the ExportSpaces method to accept them. Neither of them are required and the default behaviour is as it was before.

--export-path is configured so that the user can input a relative or absolute path:

explore.cli export-scapces -ec "..." -ep E:\\exports will export to absolute path explore.cli export-scapces -ec "..." -ep exports will export to .\exports

let me know if you need any modifications

closes #6

frankkilcommins commented 1 year ago

I believe this is also included in #14

Yousef-Majidi commented 1 year ago

I believe this is also included in #14

Yes. I built fixes in #14 on top of this branch.

frankkilcommins commented 1 year ago

closing this PR as the work was included in #14