WIP
This commit is contained in:
@@ -2,15 +2,25 @@ import { Hook, Command } from '@oclif/core'
|
||||
import fs from 'fs-extra';
|
||||
import _ from 'lodash';
|
||||
import { jjEnsure } from '@helpers/jjEnsure';
|
||||
import { jjConfigs } from '@src/index';
|
||||
|
||||
|
||||
const hook: Hook<'prerun'> = async function (opts) {
|
||||
|
||||
|
||||
|
||||
|
||||
await jjEnsure(opts)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Object.assign(process.env, jjConfigs.processEnvs);
|
||||
|
||||
|
||||
// srmVersion
|
||||
// console.log(opts.Command.flags)
|
||||
// console.log(opts.Command.args)
|
||||
|
||||
Reference in New Issue
Block a user