Commit Graph

40 Commits

Author SHA1 Message Date
jpk 4837b70073 Added more information to the status command 2023-02-15 17:07:34 +01:00
jpk 58423ede92 Remove orphaned containers 2023-02-15 16:34:50 +01:00
jpk 790e01866f Reduce down time while updating 2023-02-15 16:30:55 +01:00
jpk 192f6c1444
Merge pull request #1 from mtdcr/compose-executable
docker_compose_command: Accept 'docker compose' in config
2023-02-13 09:28:34 +01:00
Andreas Oberritter 173fd97ac8 docker_compose_command: Accept 'docker compose' in config
By splitting the command, we create a list that can be used
with subprocess.run(). This allows to use simple paths as
well as command-lines like "docker compose" to be specified
in compose_executable. It also allows to pass more arguments
to the process.

This doesn't take into account any logic used by shells to
quote strings or escape characters. We could use shlex.split()
instead, if that's required.
2023-02-11 11:25:46 +01:00
jpk ad2f52d885 Added command aliases 2023-01-18 11:30:35 +01:00
jpk 468f1071e8 Updated library dependencies 2023-01-18 11:16:26 +01:00
jpk a4e9c375ab Refactored code 2023-01-18 11:14:29 +01:00
jpk f4f321b3e9 Version bump 0.5.0 2023-01-16 17:03:35 +01:00
jpk f60c1a3828 Adding context to print_header 2023-01-16 16:33:11 +01:00
jpk 8a30974d57 Refactored command registration 2023-01-16 16:30:46 +01:00
jpk 766cb74974 Output formatting for fancy printing 2023-01-16 16:30:17 +01:00
jpk 0ab7f1fd62 Show service stats (ps + top) 2023-01-16 14:45:59 +01:00
jpk 6b23f27e2f Code formatting 2023-01-16 14:42:00 +01:00
jpk 67d0f91a5b Improved code readability 2023-01-14 09:51:40 +01:00
jpk cbb8b7bbfd Version bump 0.4.0 2023-01-13 15:05:49 +01:00
jpk 36db6d8034 Added help to commands 2023-01-13 15:03:30 +01:00
jpk 85c847200c decorator to check if compose file exists 2023-01-13 15:00:31 +01:00
jpk 74e8410af6 removed unused ctx 2023-01-12 15:54:31 +01:00
jpk 4c7bd3cf17 removed dependency to xdg 2023-01-12 15:48:07 +01:00
jpk 91a7ce14d7 Version bump 0.3.3 2023-01-12 15:37:28 +01:00
jpk 125b582b52 Version bump 0.3.2 2023-01-12 15:35:56 +01:00
jpk 3a3460744b Updated README.md to reflect changes to argument parsing 2023-01-12 15:24:34 +01:00
jpk 8a21bb3834 Removed necessity to use `--` after control commands 2023-01-12 15:21:18 +01:00
jpk 1c06a5a4fa Version bump 0.3.1 2023-01-12 08:57:20 +01:00
jpk 1b30386865 Updated README.md 2023-01-12 08:54:42 +01:00
jpk 3788324fbe Handle missing configuration file.
- added example config
2023-01-12 08:43:44 +01:00
jpk 5149c97150 Error handling if service does not exist 2023-01-12 08:36:24 +01:00
jpk 504aec1302 Updated README.md 2023-01-10 16:08:35 +01:00
jpk 3a55c3a990 Installing pre-commit hook 2023-01-10 15:46:17 +01:00
jpk ed73c9ebe3 Preparing pre-commit setup 2023-01-10 15:45:35 +01:00
jpk 3097807b05 Edit docker-compose file of a service 2023-01-10 15:19:16 +01:00
jpk 9591395aa4 Detailed informationa about usage 2023-01-10 14:26:39 +01:00
jpk 4d075c1925 Moved from restructured text to markdown 2023-01-10 11:06:16 +01:00
jpk 7d8d02d7f7 Added README.md 2023-01-10 11:02:58 +01:00
jpk 1153cbd573 Version bump 0.2.0 2023-01-10 10:25:10 +01:00
jpk 31ca4b4cbf Complete service names 2023-01-10 10:24:38 +01:00
jpk 466ee0c9a5 Better list of available services 2023-01-10 10:14:38 +01:00
jpk 66c3422141 Configurable docker-compose path 2023-01-10 09:48:15 +01:00
jpk 526f78f44d Initial commit 2023-01-10 08:57:57 +01:00