Skip to content
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

SI config on Windows CMD #787

Open
RayNawfal opened this issue Jan 19, 2023 · 1 comment
Open

SI config on Windows CMD #787

RayNawfal opened this issue Jan 19, 2023 · 1 comment
Labels
cli read Read by sequences

Comments

@RayNawfal
Copy link
Contributor

RayNawfal commented Jan 19, 2023

running the following command on Windows CMD without escaping that double quotation will result in (Error: Parsing error: Invalid JSON format), also double quotation must be used outside the curly brackets.
si config set json '{"middlewareApiUrl":"https://api.scramjet.cloud/api/v1", "env": "production", "token": ""}'

to solve issue this must be added and double quotations for before and after the curly brackets
si config set json "{\"middlewareApiUrl\": \"https://api.scramjet.cloud/api/v1\", \"env\": \"production\", \"token\": \"Generate Token\"}"

@alicja-gruzdz alicja-gruzdz added group:interface Issues regarding API or CLI cli and removed group:interface Issues regarding API or CLI labels Jan 23, 2023
@RayNawfal
Copy link
Contributor Author

it seems that double quotation should be the norm for any command-line involvement on windows especially that with further tinkering on windows wherever there is single quotations being used it is throwing an error, including API request methods.

@scramjet-bot scramjet-bot added the read Read by sequences label Jun 6, 2023
@tomekcrm tomekcrm removed the read Read by sequences label Jun 6, 2023
@scramjet-bot scramjet-bot added bug Something isn't working enhancement New feature or request labels Jun 30, 2023
@alicja-gruzdz alicja-gruzdz removed bug Something isn't working enhancement New feature or request labels Jun 30, 2023
@scramjet-bot scramjet-bot added the read Read by sequences label Jul 5, 2023
@alicja-gruzdz alicja-gruzdz removed the read Read by sequences label Jul 5, 2023
@scramjet-bot scramjet-bot added the read Read by sequences label Jul 5, 2023
@alicja-gruzdz alicja-gruzdz removed the read Read by sequences label Jul 5, 2023
@scramjet-bot scramjet-bot added the read Read by sequences label Jul 6, 2023
@alicja-gruzdz alicja-gruzdz removed the read Read by sequences label Jul 6, 2023
@scramjet-bot scramjet-bot added read Read by sequences and removed read Read by sequences labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli read Read by sequences
Projects
None yet
Development

No branches or pull requests

4 participants