diff --git a/README.md b/README.md index fef9fef..8b01df8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Deploy Local — is a command line interface designed to help developers quickly deploy projects to their local machine. DL is a wrapper on top of Docker and docker-compose, in basic use no additional software or libraries are required to be installed. -## Documentation [local-deploy.github.io](https://local-deploy.github.io/) +## Documentation [local-deploy.github.io](https://v7m.ru/s/bvntg) ![cast](docs/dl.gif) diff --git a/command/deploy.go b/command/deploy.go index fa1eece..213bed6 100644 --- a/command/deploy.go +++ b/command/deploy.go @@ -39,7 +39,7 @@ Directories that are downloaded by default Bitrix CMS: "bitrix" WordPress: "wp-admin" and "wp-includes" Laravel: only the database is downloaded`, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(_ *cobra.Command, _ []string) error { return deployRun() }, Example: "dl deploy\ndl deploy -d\ndl deploy -d -t b_user,b_file\ndl deploy -f\ndl deploy -f -o bitrix,upload", @@ -186,5 +186,5 @@ func detectFw() (string, error) { logrus.Errorf("Output of ls: %s", string(out)) - return "", errors.New("failed determine the Framework, please specify accesses manually https://clck.ru/uAGwX") + return "", errors.New("failed determine the Framework, please specify accesses manually https://v7m.ru/s/mvavg") } diff --git a/docs/dl_config.md b/docs/dl_config.md index cc593c0..3d1410a 100644 --- a/docs/dl_config.md +++ b/docs/dl_config.md @@ -22,4 +22,5 @@ Menu for setting up the application. * [dl](dl.md) - Deploy Local * [dl config repo](dl_config_repo.md) - Repository source configuration +* [dl config service](dl_config_service.md) - Additional service containers diff --git a/docs/dl_config_service.md b/docs/dl_config_service.md new file mode 100644 index 0000000..c151951 --- /dev/null +++ b/docs/dl_config_service.md @@ -0,0 +1,28 @@ +## dl config service + +Additional service containers + +### Synopsis + +Menu for managing the launch of additional containers (portainer and mailhog). + +``` +dl config service [flags] +``` + +### Options + +``` + -h, --help help for service +``` + +### Options inherited from parent commands + +``` + --debug Show more output +``` + +### SEE ALSO + +* [dl config](dl_config.md) - Application configuration + diff --git a/docs/dl_service.md b/docs/dl_service.md index ef932e5..b61f8d3 100644 --- a/docs/dl_service.md +++ b/docs/dl_service.md @@ -9,7 +9,8 @@ Local services configuration (portainer, mailcatcher, traefik). ### Options ``` - -h, --help help for service + -h, --help help for service + -s, --services strings Manage only specified services (comma separated values) ``` ### Options inherited from parent commands diff --git a/docs/dl_service_down.md b/docs/dl_service_down.md index df1e2a7..9e9d65f 100644 --- a/docs/dl_service_down.md +++ b/docs/dl_service_down.md @@ -27,7 +27,8 @@ dl down -s portainer ### Options inherited from parent commands ``` - --debug Show more output + --debug Show more output + -s, --services strings Manage only specified services (comma separated values) ``` ### SEE ALSO diff --git a/docs/dl_service_recreate.md b/docs/dl_service_recreate.md index fc6b9b0..e840885 100644 --- a/docs/dl_service_recreate.md +++ b/docs/dl_service_recreate.md @@ -19,7 +19,8 @@ dl service recreate [flags] ### Options inherited from parent commands ``` - --debug Show more output + --debug Show more output + -s, --services strings Manage only specified services (comma separated values) ``` ### SEE ALSO diff --git a/docs/dl_service_restart.md b/docs/dl_service_restart.md deleted file mode 100644 index 3f6ab5d..0000000 --- a/docs/dl_service_restart.md +++ /dev/null @@ -1,28 +0,0 @@ -## dl service restart - -Restart containers - -### Synopsis - -Restarts running service containers. - -``` -dl service restart [flags] -``` - -### Options - -``` - -h, --help help for restart -``` - -### Options inherited from parent commands - -``` - --debug Show more output -``` - -### SEE ALSO - -* [dl service](dl_service.md) - Local services configuration - diff --git a/docs/dl_service_up.md b/docs/dl_service_up.md index 1ca2909..f72f909 100644 --- a/docs/dl_service_up.md +++ b/docs/dl_service_up.md @@ -20,7 +20,8 @@ dl service up [flags] ### Options inherited from parent commands ``` - --debug Show more output + --debug Show more output + -s, --services strings Manage only specified services (comma separated values) ``` ### SEE ALSO