frame_cli.info module¶
Management of .frame-cli directories.
- frame_cli.info.add_local_model_info(name: str, url: str, model_path: str) None [source]¶
Add a local hybrid model info to global dictionary and local model dictionary.
- frame_cli.info.get_closest_info_path() str | None [source]¶
Return the path to the .frame-cli directory at the root of the current repository, if it exists.
- frame_cli.info.get_github_token(use_new_token: bool = False) str [source]¶
Return the GitHub token from the global info dictionary.
- frame_cli.info.get_home_info_path() str [source]¶
Return the path to the .frame-cli directory in the user’s home directory.