Skip to content

Commit ebb016e

Browse files
Jimmy Brissontheotherjimmy
authored andcommitted
Create a "device-management" subcommand
1 parent 03fa626 commit ebb016e

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

tools/device_management.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#! /usr/bin/env python2
2+
"""
3+
mbed SDK
4+
Copyright (c) 2011-2013 ARM Limited
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
19+
device-management, dev-mgmt, and dm sub command
20+
"""
21+
from __future__ import print_function
22+
from builtins import str
23+
import sys
24+
import json
25+
from time import sleep
26+
from shutil import copy
27+
from os.path import join, abspath, dirname
28+
from json import load, dump
29+
30+
# Be sure that the tools directory is in the search path
31+
ROOT = abspath(join(dirname(__file__), ".."))
32+
sys.path.insert(0, ROOT)
33+
34+
def main():
35+
print("device management!")
36+
37+
if __name__ == "__main__":
38+
main()

0 commit comments

Comments
 (0)