These are chat archives for azukiapp/azk

10th
Nov 2015
Felipe Arenales Santos
@fearenales
Nov 10 2015 00:07
thank you for your feedback @BlueHotDog !
Actually this is a mapped feature and it looks like you described:


aliases({

  bundle     : { command: ["bundle", "exec"]}, // system: azkdemo (default)

  scaffold   : { alias: "bundle", append: ["rails", "g", "scaffold"]},

  test       : { alias: "bundle", append: ["rake", "test"], tty: true, context: 'test'},

  'import-db': { system: "mysql", command: ["mysql"], depends: false}

});

‚Äč

// azk script generator --path ./script

//    ./script/bundle

//    ./script/scaffold

// azk shell [system]

// azk exec test

// azk exec scaffold -- post title:string body:text

// azk exec test -C dev -T

// azk exec -- bundle

// scaffold post title:string body:text
Danni Friedland
@BlueHotDog
Nov 10 2015 04:28
@fearenales i'm not sure that i understand what you mean
is the aliases feature in azk?
Felipe Arenales Santos
@fearenales
Nov 10 2015 04:28
it's in our roadmap. should be implemented soon :)
Danni Friedland
@BlueHotDog
Nov 10 2015 04:28
oh, amazing