@jbrowse/cli 2.5.0 → 2.6.2

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.
@@ -1,13 +0,0 @@
1
- import { flags } from '@oclif/command';
2
- import JBrowseCommand from '../base';
3
- export default class AdminServer extends JBrowseCommand {
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- port: flags.IOptionFlag<string | undefined>;
8
- root: flags.IOptionFlag<string | undefined>;
9
- bodySizeLimit: flags.IOptionFlag<string>;
10
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
11
- };
12
- run(): Promise<void>;
13
- }
@@ -1,23 +0,0 @@
1
- import { flags } from '@oclif/command';
2
- import JBrowseCommand from '../base';
3
- export default class Create extends JBrowseCommand {
4
- static description: string;
5
- static examples: string[];
6
- static args: {
7
- name: string;
8
- required: boolean;
9
- description: string;
10
- }[];
11
- static flags: {
12
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
13
- force: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
14
- listVersions: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
15
- branch: flags.IOptionFlag<string | undefined>;
16
- nightly: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
17
- url: flags.IOptionFlag<string | undefined>;
18
- tag: flags.IOptionFlag<string | undefined>;
19
- };
20
- run(): Promise<void>;
21
- checkPath(userPath: string): Promise<void>;
22
- catch(error: unknown): Promise<void>;
23
- }
@@ -1,17 +0,0 @@
1
- import { flags } from '@oclif/command';
2
- import JBrowseCommand from '../base';
3
- export default class RemoveTrackJson extends JBrowseCommand {
4
- target: string;
5
- static description: string;
6
- static examples: string[];
7
- static args: {
8
- name: string;
9
- required: boolean;
10
- description: string;
11
- }[];
12
- static flags: {
13
- target: flags.IOptionFlag<string | undefined>;
14
- out: flags.IOptionFlag<string | undefined>;
15
- };
16
- run(): Promise<void>;
17
- }
@@ -1,22 +0,0 @@
1
- import { flags } from '@oclif/command';
2
- import JBrowseCommand from '../base';
3
- export default class SetDefaultSession extends JBrowseCommand {
4
- private target;
5
- static description: string;
6
- static examples: string[];
7
- static args: never[];
8
- static flags: {
9
- session: flags.IOptionFlag<string | undefined>;
10
- name: flags.IOptionFlag<string>;
11
- view: flags.IOptionFlag<string | undefined>;
12
- viewId: flags.IOptionFlag<string | undefined>;
13
- tracks: flags.IOptionFlag<string | undefined>;
14
- currentSession: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
15
- target: flags.IOptionFlag<string | undefined>;
16
- out: flags.IOptionFlag<string | undefined>;
17
- delete: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
18
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
19
- };
20
- run(): Promise<void>;
21
- readDefaultSessionFile(defaultSessionFile: string): Promise<any>;
22
- }
@@ -1,52 +0,0 @@
1
- /// <reference types="node" />
2
- import { Readable } from 'stream';
3
- import { flags } from '@oclif/command';
4
- import JBrowseCommand, { Track } from '../base';
5
- export default class TextIndex extends JBrowseCommand {
6
- static description: string;
7
- static examples: string[];
8
- static flags: {
9
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
10
- tracks: flags.IOptionFlag<string | undefined>;
11
- target: flags.IOptionFlag<string | undefined>;
12
- out: flags.IOptionFlag<string | undefined>;
13
- attributes: flags.IOptionFlag<string>;
14
- assemblies: flags.IOptionFlag<string | undefined>;
15
- force: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
16
- quiet: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
17
- perTrack: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
18
- exclude: flags.IOptionFlag<string>;
19
- prefixSize: import("@oclif/parser/lib/flags").IOptionFlag<number | undefined>;
20
- file: flags.IOptionFlag<string[]>;
21
- fileId: flags.IOptionFlag<string[]>;
22
- dryrun: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
23
- };
24
- run(): Promise<void>;
25
- aggregateIndex(): Promise<void>;
26
- perTrackIndex(): Promise<void>;
27
- indexFileList(): Promise<void>;
28
- indexDriver({ trackConfigs, attributes, outLocation, name, quiet, typesToExclude, assemblyNames, prefixSize, }: {
29
- trackConfigs: Track[];
30
- attributes: string[];
31
- outLocation: string;
32
- name: string;
33
- quiet: boolean;
34
- typesToExclude: string[];
35
- assemblyNames: string[];
36
- prefixSize?: number;
37
- }): Promise<void>;
38
- indexFiles({ trackConfigs, attributes, outLocation, quiet, typesToExclude, }: {
39
- trackConfigs: Track[];
40
- attributes: string[];
41
- outLocation: string;
42
- quiet: boolean;
43
- typesToExclude: string[];
44
- }): AsyncGenerator<string, void, unknown>;
45
- runIxIxx({ readStream, outLocation, name, prefixSize, }: {
46
- readStream: Readable;
47
- outLocation: string;
48
- name: string;
49
- prefixSize?: number;
50
- }): Promise<void>;
51
- getTrackConfigs(configPath: string, trackIds?: string[], assemblyName?: string): Promise<Track[]>;
52
- }
@@ -1,22 +0,0 @@
1
- import { flags } from '@oclif/command';
2
- import JBrowseCommand from '../base';
3
- export default class Upgrade extends JBrowseCommand {
4
- static description: string;
5
- static examples: string[];
6
- static args: {
7
- name: string;
8
- required: boolean;
9
- description: string;
10
- default: string;
11
- }[];
12
- static flags: {
13
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
14
- listVersions: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
15
- tag: flags.IOptionFlag<string | undefined>;
16
- branch: flags.IOptionFlag<string | undefined>;
17
- nightly: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
18
- clean: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
19
- url: flags.IOptionFlag<string | undefined>;
20
- };
21
- run(): Promise<void>;
22
- }
@@ -1,2 +0,0 @@
1
- import { RequestInfo, RequestInit } from 'node-fetch';
2
- export default function fetchWithProxy(url: RequestInfo, options?: RequestInit): Promise<import("node-fetch").Response>;
package/lib/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export { run } from '@oclif/command';
@@ -1,13 +0,0 @@
1
- import { Track } from '../base';
2
- export declare function createRemoteStream(urlIn: string): Promise<import("node-fetch").Response>;
3
- export declare function isURL(FileName: string): boolean;
4
- export declare function guessAdapterFromFileName(filePath: string): Track;
5
- export declare function supported(type: string): boolean;
6
- export declare function generateMeta({ trackConfigs, attributes, outLocation, name, typesToExclude, assemblyNames, }: {
7
- trackConfigs: Track[];
8
- attributes: string[];
9
- outLocation: string;
10
- name: string;
11
- typesToExclude: string[];
12
- assemblyNames: string[];
13
- }): Promise<void>;
@@ -1,9 +0,0 @@
1
- import { Track } from '../base';
2
- export declare function indexGff3({ config, attributesToIndex, inLocation, outLocation, typesToExclude, quiet, }: {
3
- config: Track;
4
- attributesToIndex: string[];
5
- inLocation: string;
6
- outLocation: string;
7
- typesToExclude: string[];
8
- quiet: boolean;
9
- }): AsyncGenerator<string, void, unknown>;
@@ -1,9 +0,0 @@
1
- import { Track } from '../base';
2
- export declare function indexVcf({ config, attributesToIndex, inLocation, outLocation, quiet, }: {
3
- config: Track;
4
- attributesToIndex: string[];
5
- inLocation: string;
6
- outLocation: string;
7
- typesToExclude: string[];
8
- quiet: boolean;
9
- }): AsyncGenerator<string, void, unknown>;
package/lib/util.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import fs from 'fs';
4
- export declare function getLocalOrRemoteStream(uri: string, out: string): Promise<{
5
- totalBytes: number;
6
- stream: NodeJS.ReadableStream | fs.ReadStream;
7
- }>;