We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae49bf commit 971a56dCopy full SHA for 971a56d
75_just/paths.justfile
@@ -0,0 +1,21 @@
1
+set dotenv-load := true
2
+
3
+# default lists actions
4
+default:
5
+ @just -f {{ source_file() }} --list
6
7
+paths filepath:
8
+ #!/usr/bin/env bash
9
+ set -eufo pipefail
10
+ echo "filepath: {{ filepath }}"
11
+ echo ""
12
+ echo "absolute_path() : {{ absolute_path(filepath) }}"
13
+ echo "canonicalize() : {{ canonicalize(filepath) }}"
14
+ echo "extension() : {{ extension(filepath) }}"
15
+ echo "file_name() : {{ file_name(filepath) }}"
16
+ echo "file_stem() : {{ file_stem(filepath) }}"
17
+ echo "parent_directory() : {{ parent_directory(filepath) }}"
18
+ echo "without_extension() : {{ without_extension(filepath) }}"
19
20
21
0 commit comments