mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
d59de96921
This PR styles the collab panel. Release Notes: - N/A --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com> Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
15 lines
395 B
Bash
Executable file
15 lines
395 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# This script takes a single text input and replaces 'list_item' with the input in a cargo run command
|
|
|
|
# Check if an argument is provided
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "Usage: $0 <component_name>"
|
|
exit 1
|
|
fi
|
|
|
|
# Assign the argument to a variable
|
|
COMPONENT_NAME="$1"
|
|
|
|
# Run the cargo command with the provided component name
|
|
cargo run -p storybook2 -- components/"$COMPONENT_NAME"
|