Comments (3)
can't reproduce with using spaces as a separator:
$ go run cmd/sourced/main.go orgs init -t <token> go-chi golang-migrate
docker-compose working directory set to go-chi,golang-migrate
Creating network "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_default" with the default driver
Creating volume "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitbase_repositories" with default driver
Creating volume "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitbase_indexes" with default driver
Creating volume "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_metadata" with default driver
Creating volume "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_postgres" with default driver
Creating volume "srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_redis" with default driver
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_redis_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_metadatadb_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_postgres_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitbase_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh-web_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_ghsync_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitcollector_1 ... done
Creating srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_sourced-ui_1 ... done
smacker in ~/Work/sourced-ce on master [?]
$ go run cmd/sourced/main.go orgs init -t <token> golang-migrate go-chi
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_sourced-ui_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitbase_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh-web_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_postgres_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_metadatadb_1 ... done
Stopping srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_redis_1 ... done
docker-compose working directory set to go-chi,golang-migrate
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_metadatadb_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_redis_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_postgres_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitbase_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_bblfsh-web_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_ghsync_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_gitcollector_1 ... done
Starting srcd-z28ty2hplgdvbgfuzy1tawdyyxrl_sourced-ui_1 ... done
$ go run cmd/sourced/main.go workdirs
* go-chi,golang-migrate
most probably carlosms-test-org,bblfsh
is treated as 1 organization but we don't have validation.
We have 2 options:
- update code to change space to
,
as a separator (or support both) - update docs
from sourced-ce.
that's interesting.
We have 2 options:
- update code to change space to
,
as a separator (or support both)- update docs
Both are fine. I don't have a strong preference, but I have a feeling the comma-separated list can be more intuitive. I mean if we could and if it's not too complex, we could also accept a b
/a,b
/a, b
...
from sourced-ce.
Ok. I'll implement support for ,
in addition to current
.
comma-separated list can be more intuitive
I feel the opposite, positional arguments are usually passed using space as a delimiter in all the cli tools I know.
from sourced-ce.
Related Issues (20)
- When running `sourced stop` some containers doesn't exit with return code 0 HOT 1
- Add GOPROXY to travis HOT 4
- Allow to pass an index number with `sourced compose set` HOT 1
- More complete `sourced status` command
- Forbidden error while accessing docker compose file when initializing local Git repositories using source{d} HOT 5
- Add gitbase-spark-connector to the compose file HOT 2
- Docker exits with 1 when "sourced init local <repo>" HOT 6
- Error sourced init orgs --token HOT 9
- sourced init without the org parameter (or making it optional) HOT 4
- Support for GitHub Enterprise HOT 3
- Changes from GitBook might alter our docs HOT 9
- Update to go-1.13 HOT 3
- Docs outdated when listing sub-commands
- Installation Error message (inside corporate firewall) HOT 28
- Improve error messages
- Bitbucket support? HOT 1
- `docker-compose.override.yml` file breaks the `compose` sub cmd HOT 6
- Identify and show errors for old unsupported version of docker/docker-compose HOT 1
- gitcollector container stops after a few seconds of startup
- `sourced init orgs`: Invalid project name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sourced-ce.