mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Merge pull request #1792 from balena-io/ts-lib-actions-index
Convert lib/actions/index.coffee to typescript
This commit is contained in:
commit
0f6d160b2e
@ -1,34 +0,0 @@
|
||||
###
|
||||
Copyright 2016-2017 Balena
|
||||
|
||||
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.
|
||||
###
|
||||
|
||||
module.exports =
|
||||
apiKey: require('./api-key')
|
||||
app: require('./app')
|
||||
auth: require('./auth')
|
||||
device: require('./device')
|
||||
tags: require('./tags')
|
||||
logs: require('./logs')
|
||||
local: require('./local')
|
||||
help: require('./help')
|
||||
os: require('./os')
|
||||
config: require('./config')
|
||||
ssh: require('./ssh')
|
||||
build: require('./build').build
|
||||
deploy: require('./deploy').deploy
|
||||
util: require('./util')
|
||||
preload: require('./preload').preload
|
||||
push: require('./push')
|
||||
tunnel: require('./tunnel')
|
53
lib/actions/index.ts
Normal file
53
lib/actions/index.ts
Normal file
@ -0,0 +1,53 @@
|
||||
/*
|
||||
Copyright 2016-2020 Balena
|
||||
|
||||
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 * as apiKey from './api-key';
|
||||
import * as app from './app';
|
||||
import * as auth from './auth';
|
||||
import * as config from './config';
|
||||
import * as device from './device';
|
||||
import * as help from './help';
|
||||
import * as local from './local';
|
||||
import * as logs from './logs';
|
||||
import * as os from './os';
|
||||
import * as push from './push';
|
||||
import * as ssh from './ssh';
|
||||
import * as tags from './tags';
|
||||
import * as tunnel from './tunnel';
|
||||
import * as util from './util';
|
||||
|
||||
export {
|
||||
apiKey,
|
||||
app,
|
||||
auth,
|
||||
device,
|
||||
tags,
|
||||
logs,
|
||||
local,
|
||||
help,
|
||||
os,
|
||||
config,
|
||||
ssh,
|
||||
util,
|
||||
push,
|
||||
tunnel,
|
||||
};
|
||||
|
||||
export { build } from './build';
|
||||
|
||||
export { deploy } from './deploy';
|
||||
|
||||
export { preload } from './preload';
|
Loading…
Reference in New Issue
Block a user