diff --git a/src/commands/sourcefiles.ts b/src/commands/sourcefiles.ts deleted file mode 100644 index 283321e..0000000 --- a/src/commands/sourcefiles.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Splunk Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. -*/ - -import { Command } from 'commander'; - -export const sourcefilesCommand = new Command('sourcefiles'); - -sourcefilesCommand - .command('upload') - .requiredOption('--app-name ', 'Application name') - .requiredOption('--app-version ', 'Application version') - .requiredOption('--directory ', 'Path to the directory containing source files') - .description('Upload source files') - .action((options) => { - console.log(`Uploading source files: - App Name: ${options.appName} - App Version: ${options.appVersion} - Directory: ${options.directory}`); - }); diff --git a/src/index.ts b/src/index.ts index e0585bc..0e9e8e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,6 @@ import { Command } from 'commander'; import { iosCommand } from './commands/ios'; import { androidCommand } from './commands/android'; import { sourcemapsCommand } from './commands/sourcemaps'; -import { sourcefilesCommand } from './commands/sourcefiles'; const program = new Command(); @@ -40,6 +39,5 @@ program program.addCommand(iosCommand); program.addCommand(androidCommand); program.addCommand(sourcemapsCommand); -program.addCommand(sourcefilesCommand); program.parseAsync(process.argv);