### Install and Use GitHub CLI for Issue Creation Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md This section covers the initial setup and execution of the script to create GitHub issues. It includes installing the GitHub CLI, authenticating, and running the main script. The script automates the creation of 35 issues from markdown files. ```bash # 1. Install GitHub CLI (one-time setup) brew install gh # 2. Login to GitHub (one-time setup) gh auth login # 3. Run the script (creates all 35 issues) ./scripts/create-github-issues.sh ``` -------------------------------- ### Untitled No description -------------------------------- ### Install GitHub CLI on Linux Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md This provides instructions for installing the GitHub CLI on Linux systems. It directs users to the official installation documentation for detailed steps, as the installation process can vary depending on the Linux distribution. ```bash # Linux # See: https://github.com/cli/cli/blob/trunk/docs/install_linux.md ``` -------------------------------- ### Verify GitHub CLI and Script Prerequisites Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md Before running the issue creation script, it's essential to verify that the GitHub CLI is installed and that you are authenticated. This snippet shows commands to check the installation and authentication status. It also includes a command to preview the number of issue files available. ```bash # Check if gh is installed which gh # Check if you're authenticated gh auth status # Preview what will be created ls -1 .github/ISSUES/[0-9]*.md | wc -l # Should show: 35 ``` -------------------------------- ### Install and Run SwiftLint Locally Source: https://github.com/mvdmakesthings/ephemeris/blob/main/CI_CD.md Commands to install SwiftLint using Homebrew and then run it to check code quality. Includes an option to automatically fix linting issues. ```bash brew install swiftlint swiftlint lint swiftlint lint --fix ``` -------------------------------- ### Authenticate with GitHub CLI Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md If you are not authenticated with the GitHub CLI, this command initiates the login process. It prompts the user to follow on-screen instructions to authenticate their account with GitHub. ```bash gh auth login # Follow the prompts ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Preview Issue Content Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md This command allows you to preview the content of the first few issue template files before they are created. It uses the `head` command to display the initial lines of specified markdown files. ```bash # See the first few issues head -20 .github/ISSUES/01-tle-parsing-error-handling.md head -20 .github/ISSUES/02-inconsistent-physical-constants.md ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Fix Script Execution Permissions Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md If the script `./scripts/create-github-issues.sh` is not found or not executable, this command will make it executable. It uses `chmod +x` to add execute permissions to the specified file. ```bash chmod +x scripts/create-github-issues.sh ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Check Created GitHub Issues Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md After the script has run, this command can be used to list the issues created in the repository. It uses the `gh issue list` command to fetch and display issues, with a limit to control the number of results shown. ```bash # Check created issues gh issue list --repo mvdmakesthings/Ephemeris --limit 50 ``` -------------------------------- ### Clone Ephemeris Repository using Git Source: https://github.com/mvdmakesthings/ephemeris/blob/main/README.md This command clones the Ephemeris repository from GitHub to your local machine. It requires Git to be installed on your system. This is the first step for manual integration or building the framework directly from the source. ```bash git clone https://github.com/mvdmakesthings/Ephemeris.git ``` -------------------------------- ### Create Specific GitHub Issues using GitHub CLI Source: https://github.com/mvdmakesthings/ephemeris/blob/main/QUICK_START_ISSUES.md This alternative method demonstrates how to create specific issues using the `gh issue create` command. It iterates through a list of issue numbers, specifying the repository, the body file, and dynamically extracting the title from the markdown file. ```bash # Create just the high-priority issues for issue in 01 02 29 30; do gh issue create \ --repo mvdmakesthings/Ephemeris \ --body-file .github/ISSUES/${issue}-*.md \ --title "$(grep '^title:' .github/ISSUES/${issue}-*.md | sed 's/title: //' | tr -d '"')" done ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### SwiftLint for Code Style Enforcement Source: https://github.com/mvdmakesthings/ephemeris/blob/main/README.md This command is used to enforce Swift style and conventions within the project. It is a crucial step in the development setup to ensure code quality and consistency. ```shell swiftlint lint ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### TLE Example: International Space Station Orbit Data Source: https://github.com/mvdmakesthings/ephemeris/blob/main/docs/Introduction-to-Orbital-Elements.md This snippet shows a typical Two-Line Element (TLE) set for the International Space Station (ISS), including its name and the two primary lines containing orbital parameters. ```plaintext ISS (ZARYA) 1 25544U 98067A 24291.51803472 .00006455 00000-0 12345-3 0 9993 2 25544 51.6435 132.8077 0009821 94.4121 44.3422 15.50338483 48571 ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### List Available iPhone Simulators Source: https://github.com/mvdmakesthings/ephemeris/blob/main/CI_CD.md Command to list all available iPhone simulators on the system. This is useful for identifying target devices for testing or development. ```bash xcrun simctl list devices available | grep iPhone ``` -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description -------------------------------- ### Untitled No description