@acoustic-content-sdk/cli 中文文档教程

发布于 4年前 浏览 18 更新于 3年前

npm

Acoustic Content SDK 的命令行实用程序。

Help

Show the available commands:

acoustic-content-sdk-cli --help

Show the options for each command:

acoustic-content-sdk-cli <command> --help

Documentation

API Documentation

Home< /a> > @acoustic-content-sdk/cli

cli package

声学内容 SDK 的命令行实用程序。 这些命令可以直接从命令行使用,也可以通过基于 commander 的 API 调用。

Functions

Function Description
canonicalizeAssetsCommand(program)
generateDataOverlayCommand(program) Generates a data overlay of the wchtools folders referenced by a node module and all of its dependencies. The resulting folder can then be used with wchtools.
generateKeysCommand(program)
generateLayoutCommand(program)
generateLayoutsCommand(program)
runProgram(aArgs)
versionCommand(program)

Variables

Variable Description
VERSION Version and build number of the package

Home > @acoustic-content-sdk/cli > canonicalizeAssetsCommand

canonicalizeAssetsCommand() function

Signature:

export declare function canonicalizeAssetsCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

主页 > @acoustic-content-sdk/cli > generateDataOverlayCommand

generateDataOverlayCommand() function

生成由节点模块及其所有依赖项引用的 wchtools 文件夹的数据覆盖。 然后可以将生成的文件夹与 wchtools 一起使用。

Signature:

export declare function generateDataOverlayCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command the commander instance to attach the command to

Returns:

Command

the commander instance

首页 > @acoustic-content-sdk/cli > generateKeysCommand

generateKeysCommand() function

Signature:

export declare function generateKeysCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

主页 > @acoustic-content-sdk/cli > generateLayoutCommand

generateLayoutCommand() function

Signature:

export declare function generateLayoutCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

主页 > @acoustic-content-sdk/cli > generateLayoutsCommand

generateLayoutsCommand() function

Signature:

export declare function generateLayoutsCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

主页 > @acoustic-content-sdk/cli > 运行程序

runProgram() function

签名:

export declare function runProgram(aArgs?: string[]): import("commander").Command;

Parameters

Parameter Type Description
aArgs string[]

返回:

import("commander").Command

@acoustic-content-sdk/cli > versionCommand

versionCommand() function

Signature:

export declare function versionCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

主页 > @acoustic-content-sdk/cli > VERSION

VERSION variable

软件包的版本和构建号

签名

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

npm

Command line utility for the Acoustic Content SDK.

Help

Show the available commands:

acoustic-content-sdk-cli --help

Show the options for each command:

acoustic-content-sdk-cli <command> --help

Documentation

API Documentation

Home > @acoustic-content-sdk/cli

cli package

Command line utility for the Acoustic Content SDK. The commands can be used directly from the command line or can be invoked via a commander based API.

Functions

Function Description
canonicalizeAssetsCommand(program)
generateDataOverlayCommand(program) Generates a data overlay of the wchtools folders referenced by a node module and all of its dependencies. The resulting folder can then be used with wchtools.
generateKeysCommand(program)
generateLayoutCommand(program)
generateLayoutsCommand(program)
runProgram(aArgs)
versionCommand(program)

Variables

Variable Description
VERSION Version and build number of the package

Home > @acoustic-content-sdk/cli > canonicalizeAssetsCommand

canonicalizeAssetsCommand() function

Signature:

export declare function canonicalizeAssetsCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

Home > @acoustic-content-sdk/cli > generateDataOverlayCommand

generateDataOverlayCommand() function

Generates a data overlay of the wchtools folders referenced by a node module and all of its dependencies. The resulting folder can then be used with wchtools.

Signature:

export declare function generateDataOverlayCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command the commander instance to attach the command to

Returns:

Command

the commander instance

Home > @acoustic-content-sdk/cli > generateKeysCommand

generateKeysCommand() function

Signature:

export declare function generateKeysCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

Home > @acoustic-content-sdk/cli > generateLayoutCommand

generateLayoutCommand() function

Signature:

export declare function generateLayoutCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

Home > @acoustic-content-sdk/cli > generateLayoutsCommand

generateLayoutsCommand() function

Signature:

export declare function generateLayoutsCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

Home > @acoustic-content-sdk/cli > runProgram

runProgram() function

Signature:

export declare function runProgram(aArgs?: string[]): import("commander").Command;

Parameters

Parameter Type Description
aArgs string[]

Returns:

import("commander").Command

Home > @acoustic-content-sdk/cli > versionCommand

versionCommand() function

Signature:

export declare function versionCommand(program: Command): Command;

Parameters

Parameter Type Description
program Command

Returns:

Command

Home > @acoustic-content-sdk/cli > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}
更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文