MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / create_config_dir_for_first_use

Function create_config_dir_for_first_use

mssqlcli/main.py:91–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def create_config_dir_for_first_use():
92 config_dir = os.path.dirname(config_location())
93 if not os.path.exists(config_dir):
94 os.makedirs(config_dir)
95 return True
96
97 return False
98
99
100def display_version_message(options):

Callers 1

run_cli_withFunction · 0.85

Calls 1

config_locationFunction · 0.90

Tested by

no test coverage detected