The scli are not available yet to install from homebrew or any other package manager. So then we have to clone repo first of all.
pub global activate --source path <repo path here>
After the activating, we have to export the path of pub cache.
add it to your .bash_profile
/.bashrc maybe
.
export PATH="$PATH":"HOME/.pub-cache/bin"
- Get questions
- Options:
- Get all (would get 100 question)
- Get by id
- Get by limiting the result
- Get by providing custom tags
- Search questions
- Options:
- Get all (would get 100 question)
- Get by id
- Get by limiting the result
- Get by providing custom tags
To get help about using:
scli help
To get help about concrete command:
scli help <command name>
Get questions (Would get excatly 5 question).
scli get
Customized get command: It would get newest questions from [flutter] tag and getted questions length would be 4.
scli get --tag flutter --limit 4
It would search question by gave text, and log avaiable questions.
scli search <Search text here>
Customized search command: It would search questions about "Design patterns" by [flutter] tag and would display just 2 question.
scli search "Design patterns" --tag dart --limit 2
scli view answers <question-id>
scli view comments <question-id>
Created from templates made available by Stagehand under a BSD-style license.