Skip to content

Commit

Permalink
perf(release): V1 release (#174)
Browse files Browse the repository at this point in the history

BREAKING CHANGE: The beta notice is now removed. The ClI shall be v1
  • Loading branch information
Khaledgarbaya authored Sep 19, 2019
1 parent f7bf1c5 commit 1e49a2c
Show file tree
Hide file tree
Showing 38 changed files with 61 additions and 94 deletions.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ yargs.usage('\nUsage: contentful <cmd> [args]')
skipValidation: true
})
.version(false)
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
.fail(function (msg, err, yargs) {
if (err) throw err
console.error(yargs.help())
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/boilerplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const command = 'boilerplate'
export const desc = 'Download a boilerplate'
const epilog = [
'See more at:\nhttps://github.com/contentful/contentful-cli/tree/master/docs/boilerplate',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n')

export const builder = (yargs) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/content-type_cmds/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const builder = (yargs) => {
.option('space-id', { alias: 's', type: 'string', describe: 'Space id' })
.option('management-token', { alias: 'mt', type: 'string', describe: 'Contentful management API token' })
.option('environment-id', { type: 'string', describe: 'Environment id' })
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

async function ctShow (argv) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/content-type_cmds/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const builder = yargs => {
describe:
'Environment ID you want to interact with. Defaults to the current active environment.'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

async function ctList ({ context }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/extension_cmds/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const builder = (yargs) => {
type: 'string',
describe: 'JSON string of installation parameter key-value pairs'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function createExtension (environment, data) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/extension_cmds/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const builder = (yargs) => {
type: 'boolean',
describe: 'Force operation without explicit version'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function deleteExtension (argv) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/extension_cmds/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const builder = (yargs) => {
.option('management-token', { alias: 'mt', type: 'string', describe: 'Contentful management API token' })
.option('space-id', { type: 'string', describe: 'Space id' })
.option('environment-id', { type: 'string', describe: 'Environment id' })
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

async function getExtension ({ context, id }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/extension_cmds/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const builder = (yargs) => {
.option('management-token', { alias: 'mt', type: 'string', describe: 'Contentful management API token' })
.option('space-id', { type: 'string', describe: 'Space id' })
.option('environment-id', { type: 'string', describe: 'Environment id' })
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function listExtensions ({ context }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/extension_cmds/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const builder = (yargs) => {
type: 'string',
describe: 'JSON string of installation parameter key-value pairs'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function updateExtension (extension, data) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const builder = yargs => {
[
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/login',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n')
)
}
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/accesstoken_cmds/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const builder = (yargs) => {
describe: 'Suppress command output',
default: false
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function accessTokenCreate (argv) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/accesstoken_cmds/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const command = 'list'
export const desc = 'List your delivery access tokens'
const epilog = [
'See more at:\nhttps://github.com/contentful/contentful-cli/tree/master/docs/space/accesstoken/list',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n')

export const builder = (yargs) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const builder = yargs => {
describe: 'Use the created space as default space when the --space-id is skipped.',
type: 'boolean'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function spaceCreate (argv) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const builder = (yargs) => {
.option('yes', {
describe: 'Skip the confirmation question'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function spaceDelete ({ context, yes }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/environment_cmds/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const builder = (yargs) => {
.epilog([
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/space/environment/create',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n'))
}

Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/environment_cmds/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const builder = (yargs) => {
.epilog([
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/space/environment/delete',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n'))
}

Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/environment_cmds/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const builder = (yargs) => {
.epilog([
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/space/environment/list',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n'))
}

Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/environment_cmds/use.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const builder = (yargs) => {
type: 'string'
})
.option('space-id', { alias: 's', type: 'string', describe: 'Space id' })
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

function showSuccess (space, environment) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const builder = function (yargs) {
default: false
})
.config('config', 'An optional configuration JSON file containing all the options for a single run')
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export const exportSpace = async (argv) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/generate_cmds/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const builder = (yargs) => {
.epilog([
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/space/generate/migration',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n'))
}

Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const builder = (yargs) => {
type: 'string'
})
.config('config', 'An optional configuration JSON file containing all the options for a single run')
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export const importSpace = async (argv) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const builder = (yargs) => {
.epilog([
'See more at:',
'https://github.com/contentful/contentful-cli/tree/master/docs/space/list',
'Copyright 2018 Contentful, this is a BETA release'
'Copyright 2019 Contentful'
].join('\n'))
}

Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const builder = (yargs) => {
.example('contentful migration', '--space-id abcedef my-migration.js')
.strict()
.config('config', 'An optional configuration JSON file containing all the options for a single run')
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export const migration = async (argv) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const builder = (yargs) => {
.option('yes', {
describe: 'Skip the confirmation question'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

export async function spaceSeed ({ context, yes, template, feature = 'space-seed' }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/cmds/space_cmds/use.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const builder = (yargs) => {
describe: 'ID of the Space to use for other commands',
type: 'string'
})
.epilog('Copyright 2018 Contentful, this is a BETA release')
.epilog('Copyright 2019 Contentful')
}

function showSuccess (space, env) {
Expand Down
Loading

0 comments on commit 1e49a2c

Please sign in to comment.