mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Add esphomeyaml legacy script
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| """Constants used by esphome.""" | ||||
|  | ||||
| MAJOR_VERSION = 1 | ||||
| MINOR_VERSION = 10 | ||||
| MINOR_VERSION = 11 | ||||
| PATCH_VERSION = '0-dev' | ||||
| __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) | ||||
| __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) | ||||
|   | ||||
							
								
								
									
										13
									
								
								esphome/legacy.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								esphome/legacy.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| from __future__ import print_function | ||||
| import sys | ||||
|  | ||||
|  | ||||
| def main(): | ||||
|     print("The esphomeyaml command has been renamed to esphome.") | ||||
|     print("") | ||||
|     print("$ esphome {}".format(' '.join(sys.argv[1:]))) | ||||
|     return 1 | ||||
|  | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     sys.exit(main()) | ||||
		Reference in New Issue
	
	Block a user