Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: EF804E3FF4BBA8AB
8 changed files with
52 additions and
22 deletions
-
bin/now
-
bin/now-alias
-
bin/now-certs
-
bin/now-deploy
-
bin/now-domains
-
bin/now-list
-
bin/now-remove
-
bin/now-secrets
|
|
@ -1,8 +1,13 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
import {resolve} from 'path'; |
|
|
|
|
|
|
|
// Packages |
|
|
|
import minimist from 'minimist'; |
|
|
|
import { resolve } from 'path'; |
|
|
|
import { spawn } from 'cross-spawn'; |
|
|
|
import {spawn} from 'cross-spawn'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import checkUpdate from '../lib/check-update'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2)); |
|
|
|
|
|
@ -1,10 +1,13 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
import chalk from 'chalk'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import table from 'text-table'; |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import NowAlias from '../lib/alias'; |
|
|
|
import login from '../lib/login'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
|
|
@ -1,16 +1,21 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
import path from 'path'; |
|
|
|
|
|
|
|
// Packages |
|
|
|
import chalk from 'chalk'; |
|
|
|
import table from 'text-table'; |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { handleError, error } from '../lib/error'; |
|
|
|
import NowCerts from '../lib/certs'; |
|
|
|
import path from 'path'; |
|
|
|
import fs from 'fs-promise'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import {handleError, error} from '../lib/error'; |
|
|
|
import NowCerts from '../lib/certs'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), { |
|
|
|
string: ['config', 'token', 'crt', 'key', 'ca'], |
|
|
|
boolean: ['help', 'debug'], |
|
|
|
|
|
@ -1,21 +1,26 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
import {resolve} from 'path'; |
|
|
|
|
|
|
|
// Packages |
|
|
|
import Progress from 'progress'; |
|
|
|
import {stat} from 'fs-promise'; |
|
|
|
import bytes from 'bytes'; |
|
|
|
import chalk from 'chalk'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import copy from '../lib/copy'; |
|
|
|
import { resolve } from 'path'; |
|
|
|
import login from '../lib/login'; |
|
|
|
import { stat } from 'fs-promise'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { version } from '../../package'; |
|
|
|
import {version} from '../../package'; |
|
|
|
import Logger from '../lib/build-logger'; |
|
|
|
import bytes from 'bytes'; |
|
|
|
import chalk from 'chalk'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import Now from '../lib'; |
|
|
|
import toHumanPath from '../lib/utils/to-human-path'; |
|
|
|
import promptOptions from '../lib/utils/prompt-options'; |
|
|
|
import ms from 'ms'; |
|
|
|
import { handleError, error } from '../lib/error'; |
|
|
|
import {handleError, error} from '../lib/error'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), { |
|
|
|
string: [ |
|
|
|
|
|
@ -1,9 +1,12 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
import chalk from 'chalk'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import table from 'text-table'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import login from '../lib/login'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { error } from '../lib/error'; |
|
|
|
|
|
@ -1,15 +1,18 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
import fs from 'fs-promise'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import chalk from 'chalk'; |
|
|
|
import table from 'text-table'; |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import Now from '../lib'; |
|
|
|
import login from '../lib/login'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { handleError, error } from '../lib/error'; |
|
|
|
import {handleError, error} from '../lib/error'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), { |
|
|
|
string: ['config', 'token'], |
|
|
|
|
|
@ -1,13 +1,16 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
import minimist from 'minimist'; |
|
|
|
import chalk from 'chalk'; |
|
|
|
import ms from 'ms'; |
|
|
|
import table from 'text-table'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import Now from '../lib'; |
|
|
|
import login from '../lib/login'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { handleError, error } from '../lib/error'; |
|
|
|
import {handleError, error} from '../lib/error'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), { |
|
|
|
string: ['config', 'token'], |
|
|
|
|
|
@ -1,13 +1,16 @@ |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
import chalk from 'chalk'; |
|
|
|
import table from 'text-table'; |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import minimist from 'minimist'; |
|
|
|
import ms from 'ms'; |
|
|
|
|
|
|
|
// Ours |
|
|
|
import strlen from '../lib/strlen'; |
|
|
|
import * as cfg from '../lib/cfg'; |
|
|
|
import { handleError, error } from '../lib/error'; |
|
|
|
import {handleError, error} from '../lib/error'; |
|
|
|
import NowSecrets from '../lib/secrets'; |
|
|
|
import ms from 'ms'; |
|
|
|
import login from '../lib/login'; |
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2), { |
|
|
|