A command-line tool for various utilities including timezone operations.
- Clone the repository:
git clone <repository-url>
cd meroshare-cli- Build the application:
go build -o meroshare-cli- (Optional) Install globally:
go installDisplay the current date in a specified timezone.
./meroshare-cli timezone [timezone]# Get current date in UTC
./meroshare-cli timezone UTC
# Get current date in New York timezone
./meroshare-cli timezone America/New_York
# Get current date in Tokyo timezone
./meroshare-cli timezone Asia/Tokyo
# Get current date with custom format
./meroshare-cli timezone UTC --date "2006-01-02 15:04:05"--date: Specify the date format (default is RFC3339 date format)
UTC- Coordinated Universal TimeAmerica/New_York- Eastern TimeAmerica/Los_Angeles- Pacific TimeEurope/London- Greenwich Mean TimeAsia/Tokyo- Japan Standard TimeAsia/Kolkata- India Standard Time
go test ./...go build -o meroshare-cli- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
[Add your license information here]