turbulent / substance

Local Docker-powered development environments
Apache License 2.0
18 stars 8 forks source link

logs: ability to specify multiple logfiles and exclude some #36

Open S0yKaf opened 5 years ago

S0yKaf commented 5 years ago

Currently the substance logs command only allows you to do 1 glob pattern to filter out log files.

the command should allow for multiple glob patterns and the ability to exclude certain log files based on the same principal.

example:


# include 
$ substance logs web-* screenshotter-*
> only prints logs starting with "web-" and "screenshotter-"

# exclude
$ substance logs --exclude mysql-*
> prints all the logs except those that start with "mysql-"