Skip to content

ayapingping-sh is the main shell script (/bin/sh) for ayapingping's generator, which follows POSIX standards to ensure it can run effectively on any platform, operating system, or programming language shell session

License

dalikewara/ayapingping-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ayapingping-sh

GitHub tag (latest SemVer) GitHub license

ayapingping-sh is the main shell script (/bin/sh) for ayapingping's generator, which follows POSIX standards to ensure it can run effectively on any platform, operating system, or programming language shell session. This script is currently used by every ayapingping variant and will be used in the next variant. Because the main generator is written in shell script, adapting the next ayapingping variant to a new or different programming language should be straightforward.

Variants

Currently, ayapingping has the following variants:

Requirements

  • Operating systems supporting /bin/sh with POSIX standards. Linux and macOS should have no issues here as they support it by default. For Windows users, consider using WSL instead

Getting Started

There's no need to get started here. To see how the generator works, see the description below, or just take a look at the main_*.sh file.

The Generator Synchronization

How does it work?

Let's assume you have installed one of the ayapingping variants, for example: ayapingping-go. When you call any ayapingping-go command: ayapingping-go, ayapingping-go version, ayapingping-go importFeature bla bla bla, and so on... It will:

  1. Check if you can get the latest main_*.sh version from this repo
  2. If you can't (either you're offline or something else), ayapingping-go will use the current main.sh file from its installation directory
  3. If you can, ayapingping-go will update the current main.sh file in its installation directory with the latest one and will use it for the next process
  4. So, this will make sure that ayapingping-go always uses the latest version of the generator without breaking or changing anything
  5. The same behavior applies to the other variants too
  6. This means any fixes, changes, or adjustments made to the generator will also automatically be applied to all the ayapingping variants

To check the version of the generator, just use the version command:

ayapingping-go version
# Output: AyaPingPing (Golang) v4.4.0 sh4.0.0

The sh4.0.0 is the generator version.

Release

Changelog

Read it at CHANGELOG.md.

Credits

Copyright © 2024 Dali Kewara

License

MIT License

About

ayapingping-sh is the main shell script (/bin/sh) for ayapingping's generator, which follows POSIX standards to ensure it can run effectively on any platform, operating system, or programming language shell session

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages