Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Conversation

@dharmin
Copy link
Contributor

@dharmin dharmin commented Feb 12, 2018

Fix #32

@mbtamuli
Copy link
Contributor

Escape characters showing up.

> ee4 list
\e[1;31mNo sites have been created.
-----
> ee4 list

\e[1;32mList of Sites:

\e[1;38;5;25mexample.com
notasite
simplefolder
zzz.test

@mbtamuli
Copy link
Contributor

@dharmin Currently it is displaying even text files and random directories in the webroot.
Use find to only filter only (1)directories which (2)contain a docker-compose.yml file.

@mbtamuli
Copy link
Contributor

At the current state, it correctly lists sites only, but output is wrong.

> ls -al
total 0
drwxr-xr-x  6 rtc 192 Feb 13 12:40 .
drwxr-xr-x 14 rtc 448 Feb 13 12:53 ..
drwxr-xr-x  7 rtc 224 Feb 13 12:38 example.com
drwxr-xr-x  2 rtc  64 Feb 13 12:39 notasite
drwxr-xr-x  2 rtc  64 Feb 13 12:40 test
drwxr-xr-x  7 rtc 224 Feb 13 12:40 zzz.test
> ee4 list
List of Sites:

examplecom
zzztest

It removes the period.

@dharmin
Copy link
Contributor Author

dharmin commented Feb 15, 2018

Fixed. Used cut command instead of tr to fix it

@mbtamuli
Copy link
Contributor

LGTM

@mbtamuli mbtamuli merged commit df3d16c into EasyEngine:master Feb 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants