メインコンテンツに移動

shirane lab

メインナビゲーション

  • ホーム
  • ブログ
  • Drush
  • 検索

パンくず

  • ホーム
  • Drush コマンド ヘルプ(日本語訳)
  • drush role:create コマンド

drush role:create コマンド

2020/11/27(金) - 09:18
shirane

drush の role:create コマンドについて:

コマンドヘルプ

新しいロールを作成する。

使用例

  • drush role:create 'test role'
    新しいロール 'test role' を作成する。D8 では表示名が 'Test role' となる。
  • drush role:create 'test role' 'Test role'
    マシン名が 'test role' の新しいロールを作成し、表示名を 'Test role' にする。

引数

  • machine_name
    ロールのマシン名。
  • [human_readable_name]
    ロールの表示名。

エイリアス

  • rcrt
  • role-create

参考資料

  • role:create(drush.org)
Drush
Drush コマンド ヘルプ(日本語訳)
‹ 前の記事次の記事 ›

書籍

『D9 おいしいレシピ集2』がパワーアップして商業誌に

『D9 おいしいレシピ集2』がパワーアップして商業誌に

 書籍の一覧はこちら

 

サイト運営

シナジークエスト

© shirane lab