@abloh/cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,6 @@
1
+ Copyright (c) 2026 Abloh. All rights reserved.
2
+
3
+ This software is licensed, not sold, and may be used only under a commercial
4
+ agreement with Abloh. No other rights are granted.
5
+
6
+ DRAFT — have counsel review before first distribution.
@@ -0,0 +1,9 @@
1
+ declare function gitRevParse(cwd: string, ref: string): Promise<string>;
2
+ declare function gitMergeBase(cwd: string, base: string, head: string): Promise<string>;
3
+ /**
4
+ * A typo'd --base/--head must not silently yield a cannot-attest artifact with exit 0:
5
+ * verify each ref resolves to a commit in the target repo before any work starts.
6
+ */
7
+ declare function assertCommitRef(cwd: string, flag: string, ref: string): Promise<void>;
8
+
9
+ export { assertCommitRef, gitMergeBase, gitRevParse };