1 | import * as path from 'path';
|
2 | export declare const home: string;
|
3 | export { path };
|
4 | /**
|
5 | * easier to use version of path.join()
|
6 | * flattens args so you can pass things in like join(['foo', 'bar']) or join('foo', 'bar')
|
7 | * the point of this is to make it so all the different qqjs tools can take in arrays as arguments to be joined
|
8 | * defaults to process.cwd()
|
9 | */
|
10 | export declare function join(filepath?: string | string[]): string;
|
11 | export declare function join(...filepath: string[]): string;
|
12 | /**
|
13 | * cd into a directory
|
14 | */
|
15 | export declare function cd(filepaths: string | string[]): void;
|
16 | export declare function pushd(filepaths: string | string[]): void;
|
17 | export declare function popd(): void;
|
18 | export declare function cwd(): string;
|