Skip to content

Commit

Permalink
write a base function to install functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarmos-san committed Aug 18, 2023
1 parent 1494fdb commit fbed817
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions setup-rewrite
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,21 @@ def install_homebrew(dry_run: bool = DRY_RUN) -> None:
print("Simulating Homebrew installation...")


def install_fonts(dry_run: bool = DRY_RUN) -> None:
"""Install certain fonts and make them available for use in the system."""
cascadia_code_download_url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/CascadiaCode.zip"
cascadia_code_zipname = "cascadia_code.zip"

print(cascadia_code_download_url)
print(cascadia_code_zipname)

if not dry_run:
pass
else:
# TODO: Refactor the "simulation function" to make this behaviour
print("Installing fonts...")


def main() -> None:
"""Entrypoint of the script."""
args = argument_parser()
Expand Down

0 comments on commit fbed817

Please sign in to comment.