Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(@angular/cli): remove ng init & ng update #4628

Merged
merged 1 commit into from
Feb 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 0 additions & 29 deletions docs/documentation/update.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/@angular/cli/addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = {
'new': require('../commands/new').default,
'generate': require('../commands/generate').default,
'destroy': require('../commands/destroy').default,
'init': require('../commands/init').default,
'test': require('../commands/test').default,
'e2e': require('../commands/e2e').default,
'help': require('../commands/help').default,
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/commands/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface CompletionCommandOptions {

const commandsToIgnore = [
'easter-egg',
'init',
'destroy',
'github-pages-deploy' // errors because there is no base github-pages command
];
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/commands/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const lookupCommand = require('../ember-cli/lib/cli/lookup-command');

const commandsToIgnore = [
'easter-egg',
'init',
'destroy'
];

Expand Down
1 change: 0 additions & 1 deletion packages/@angular/cli/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const Command = require('../ember-cli/lib/models/command');
const InitCommand: any = Command.extend({
name: 'init',
description: 'Creates a new Angular CLI project in the current folder.',
aliases: ['u', 'update', 'i'],
works: 'everywhere',

availableOptions: [
Expand Down
2 changes: 1 addition & 1 deletion packages/@angular/cli/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SilentError = require('silent-error');

const NewCommand = Command.extend({
name: 'new',
description: `Creates a new directory and runs ${chalk.green('ng init')} in it.`,
description: `Creates a new directory and a new Angular app.`,
works: 'outsideProject',

availableOptions: [
Expand Down
203 changes: 0 additions & 203 deletions tests/acceptance/init.spec.js

This file was deleted.