* CLI command to serve docs locally * Document it * Default port * Use `with` and subclass `SimpleHTTPRequestHandler` to set working dir * Apply suggestions from code review Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com> * Update docs/cli.md
		
			
				
	
	
		
			16 lines
		
	
	
		
			376 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			376 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """QMK CLI Subcommands
 | |
| 
 | |
| We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup.
 | |
| """
 | |
| from . import cformat
 | |
| from . import compile
 | |
| from . import config
 | |
| from . import docs
 | |
| from . import doctor
 | |
| from . import hello
 | |
| from . import json
 | |
| from . import list
 | |
| from . import new
 | |
| from . import pyformat
 | |
| from . import pytest
 |