Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@darabonba/cli

aliyun29Apache-2.01.2.0

The CLI for Darabonba

readme

English | 简体中文

Darabonba CLI

NPM version build status codecov David deps npm download

Installation

Darabonba CLI was designed to work in Node.js. The preferred way to install the Generator is to use the NPM package manager. Simply type the following into a terminal window:

$ npm install @darabonba/cli -g

Usage

$ dara

The CLI for Darabonba 1.1.0

Usage:

    dara <command> [<args>]

Available commands:

start a Darabonba project
    init       initialization package information

working on the Darabonba project
    check      syntax check for dara file
    codegen    generate codes
    build      build ast file for dara file
    format     format the dara source file
    config     view or update configuration

working with Darabonba Repository(as maintainer)
    login        login to repository
    info         get the info of a dara scope or a dara pakcage
    pack         pack the project as a *.tgz file
    publish      publish the dara package to repository
    unpublish    unpublish the publish module
    install      install the dependencies from repository
    clean        clean the libraries folder
    score        get darabonba package score

help commands
    help       print the help information

Issues

Opening an Issue, Issues not conforming to the guidelines may be closed immediately.

Changelog

Detailed changes for each release are documented in the release notes.

License

Apache-2.0 Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

changelog

ChangeLog

1.2.0 - 2022-08-29

Add Swift generator in Darabonba CLI.

1.1.8 - 2021-03-01

sovle overseas user install overtime.

1.1.7 - 2021-01-28

codegen command supported generate python2.

1.1.6 - 2020-11-18

add executable option in codegen command.

1.1.5 - 2020-09-28

Exec exit after get module info.

1.1.4 - 2020-09-27

Exec exit after install finish.

1.1.3 - 2020-09-01

Fix the ast's model name when publish module.

1.1.2 - 2020-08-06

Be compatible with Teafile when install subModule libraries.

1.1.1 - 2020-08-03

Add repository address in Darabonba CLI.

1.1.0 - 2020-08-03

Add repository releated commands in Darabonba CLI.

1.0.1 - 2020-06-19

Add Python generator in Darabonba CLI.

1.0.0 - 2020-06-18

Initialization release of the Darabonba CLI Version 1.0.0 on NPM. See https://www.npmjs.com/package/@darabonba/cli for more information.