@superspec/cli 1.1.1 → 1.2.1

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/dist/index.d.ts CHANGED
@@ -1,3 +1,33 @@
1
+ interface ArchiveOptions {
2
+ all?: boolean;
3
+ }
4
+ declare function archiveCommand(name: string | undefined, options: ArchiveOptions): Promise<void>;
5
+
6
+ interface CreateOptions {
7
+ boost?: boolean;
8
+ creative?: boolean;
9
+ user?: string;
10
+ lang?: string;
11
+ branch?: boolean;
12
+ specDir?: string;
13
+ branchPrefix?: string;
14
+ branchTemplate?: string;
15
+ changeNameTemplate?: string;
16
+ description?: string;
17
+ intentType?: string;
18
+ }
19
+ declare function createCommand(feature: string, options: CreateOptions): Promise<void>;
20
+
21
+ interface InitOptions {
22
+ ai: string;
23
+ lang: string;
24
+ force?: boolean;
25
+ git?: boolean;
26
+ }
27
+ declare function initCommand(options: InitOptions): Promise<void>;
28
+
29
+ declare function updateCommand(): Promise<void>;
30
+
1
31
  type Strategy = 'follow' | 'create';
2
32
  type AIEditorType = 'claude' | 'cursor' | 'qwen' | 'opencode' | 'codex' | 'codebuddy' | 'qoder';
3
33
  interface SuperSpecConfig {
@@ -25,34 +55,4 @@ interface SuperSpecConfig {
25
55
  declare function loadConfig(projectRoot?: string, silent?: boolean): SuperSpecConfig;
26
56
  declare function getDefaultConfig(): SuperSpecConfig;
27
57
 
28
- interface InitOptions {
29
- ai: string;
30
- lang: string;
31
- force?: boolean;
32
- git?: boolean;
33
- }
34
- declare function initCommand(options: InitOptions): Promise<void>;
35
-
36
- interface CreateOptions {
37
- boost?: boolean;
38
- creative?: boolean;
39
- user?: string;
40
- lang?: string;
41
- branch?: boolean;
42
- specDir?: string;
43
- branchPrefix?: string;
44
- branchTemplate?: string;
45
- changeNameTemplate?: string;
46
- description?: string;
47
- intentType?: string;
48
- }
49
- declare function createCommand(feature: string, options: CreateOptions): Promise<void>;
50
-
51
- interface ArchiveOptions {
52
- all?: boolean;
53
- }
54
- declare function archiveCommand(name: string | undefined, options: ArchiveOptions): Promise<void>;
55
-
56
- declare function updateCommand(): Promise<void>;
57
-
58
58
  export { type SuperSpecConfig, archiveCommand, createCommand, getDefaultConfig, initCommand, loadConfig, updateCommand };