You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now you can use following aliases (some aliases requires clitools 1.8.0!):
44
+
Now you can use some useful aliases (some aliases requires clitools 1.8.0!):
40
45
41
-
```bash
42
-
# Shortcut for auto-tree-searching make
43
-
alias make='ct make'
44
-
45
-
# Shortcut for auto-tree-searching make
46
-
alias composer='ct php:composer'
47
-
48
-
# Shortcut for docker-compose (autosearch docker-compose.yml in up-dir, you don't have to be in directory with docker-compose.yml)
49
-
alias dcc='ct docker:compose'
50
-
51
-
# Startup docker-container (and shutdown previous one, v1.9.0 and up)
52
-
alias dccup='ct docker:up'
53
-
alias dccstop='ct docker:compose stop'
54
-
55
-
# Enter main docker container (as CLI_USER if available - if not specified then root is used)
56
-
alias dcshell='ct docker:shell'
57
-
alias dcsh='ct docker:shell'
58
-
59
-
# Enter main docker container (as root)
60
-
alias dcroot='ct docker:root'
61
-
62
-
# Execute predefined cli in docker container
63
-
alias dccrun='ct docker:cli'
64
-
alias dcrun='ct docker:cli'
65
-
66
-
# Execute mysql client in docker container
67
-
alias dcsql='ct docker:mysql'
68
-
alias dcmysql='ct docker:mysql'
69
-
```
46
+
[Example aliases for clitools](ALIASES.md)
70
47
71
48
## Configuration
72
49
@@ -135,9 +112,12 @@ cd clitools
135
112
make all
136
113
```
137
114
115
+
### Details about the Makefile
138
116
If you take a look into the `Makefile`, you will see which tasks have been executed.
139
117
The steps are:
140
118
141
119
1. Execute composer command
142
120
2. Start main build script
143
121
3. Copy the previously built phar file to `/usr/local/bin`, so that you can execute clitools just by typing ct.
122
+
123
+
*Note*: If you're compiling clitools in OSX the easiest thing is to install requirements with homebrew: `brew install coreutils g-sed homebrew/php/box`
0 commit comments