I have googled "tar.gz decompress args" for the last time, thanks to my little babashka script bunpack
. If anyone else is tired of using google/their mind attic to remember how to unpack various file formats, it is available at https://github.com/robertfw/bunpack
https://github.com/moonpyk/dtrx is one of the first packages I install on clean linux distros. Nice to have a clj option now š
I've used atool
for a long time to do that, but there is another tool that has vastly improved my command line happiness in general and also addresses this case: tldr pages. tldr tar
would give you a curated little list of the most common commands. I love it.
@iagwanderson dtrx looks like a good source for more features/formats to support, thanks for sharing that
Just when I finally remember the correct args?
I just released a new application template. https://github.com/redstarssystems/rssysapp ThisĀ `Application template`Ā helps you to quick start new application project usingĀ https://clojure.org/guides/getting_startedĀ andĀ https://github.com/seancorfield/clj-new. ThisĀ `Application template`Ā provides: ā¢ project control viaĀ `Justfile`Ā (seeĀ https://github.com/casey/just) and scripting usingĀ https://github.com/babashka/babashka; ā¢ environment variables control usingĀ `direnv`Ā utility; ā¢ editor configuration viaĀ `.editorconfig`Ā file; ā¢ configuredĀ `clj-kondo`Ā linter; ā¢ configuredĀ `cljstyle`Ā formatter; ā¢ run tests usingĀ https://github.com/lambdaisland/kaocha. This template will give you the following basic project workflow:
mike@mbp02 just
List of available recipes
Available recipes:
build # Build uberjar file (as an application)
bump level='patch' # Bump version artifact in `version_id` file, level may be one of: major, minor, patch, alpha, beta, rc, release.
clean # Clean target folder
default # Help
deploy # Deploy uberjar file to remote repository (stub)
format # Format source code
install # Install uberjar locally (requires the pom.xml file)
javac # Compile java sources (if any)
lint # Lint source code
outdated # Check for outdated dependencies
repl # Run Clojure repl
requirements # Install project requirements (OS will be detected automatically)
run # Run application
standalone # Create a standalone application with bundled JDK (using jlink, JDK 9+)
test # Run tests
this looks neat!
See also newer version of library template https://github.com/redstarssystems/rssyslib