📝 設定ファイル解説:config.js

設定ファイル詳説:Extraコマンド設定


config.js 設定例

    /**
     * ---------------------------------------------------------------
     * Extraコマンド設定
     * ---------------------------------------------------------------
     */
    extra: {
        // ngrok
        expose: {
            command: 'ngrok http 80',
            container: 'lampman',
            desc: 'ngrok を使用して一時的に外部からアクセスできるようにする'
        },

        // extraサンプル:`lamp sample`
        sample: {
            // command: '(command for all os)',
            command: {
                win: '(command for windows)',
                unix: '(command for mac|linux)',
            },
            container: 'lampman', // if specified, run on container.
            desc: '(description)', // if specified, show desc on `lamp --help`
        },
    },

lamp (extraコマンド設定名)

.lampman/config.js に設定すると独自の lamp コマンドとして機能が実行できるものです。

詳細は以下から御覧ください。

results matching ""

    No results matching ""