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

Discussion around option flags #6

Open
dokun1 opened this issue Apr 20, 2018 · 0 comments
Open

Discussion around option flags #6

dokun1 opened this issue Apr 20, 2018 · 0 comments
Labels
discussion question Further information is requested
Milestone

Comments

@dokun1
Copy link
Owner

dokun1 commented Apr 20, 2018

The current node.js tool shows this when you type slackin without any options:

  Usage: slackin [options] <team-id> <api-token>

  Options:

    -c, --channels          One or more comma-separated channel names to allow single-channel guests [$SLACK_CHANNELS]
    -C, --coc               Full URL to a CoC that needs to be agreed to
    -x, --cors              Enable CORS for all routes
    -S, --css               Full URL to a custom CSS file to use on the main page
    -?, --help              Show the usage information
    -h, --hostname [value]  Hostname to listen on [$HOSTNAME or 0.0.0.0]
    -i, --interval <n>      How frequently (ms) to poll Slack [$SLACK_INTERVAL or 5000]
    -P, --path [value]      Path to serve slackin under
    -p, --port <n>          Port to listen on [$PORT or 3000]
    -s, --silent            Do not print out warns or errors
    -v, --version           Output the version number

Not only does the tool in swift need to output similar output, but we should decide which flags are relevant to this tool. I suspect all of them are valid and should be implemented, but I will not write those issues until some discussion here is made on the topic.

@dokun1 dokun1 added question Further information is requested discussion labels Apr 20, 2018
@dokun1 dokun1 added this to the v1.0 milestone Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant