File size: 436 Bytes
adaea7c
5f3a430
adaea7c
5f3a430
adaea7c
 
 
 
 
 
 
 
 
 
5f3a430
adaea7c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Run from root dir

nbdev_readme
yaml_file="hface.yaml"
readme_file="README.md"

# Read the content of the YAML file
yaml_content=$(cat "$yaml_file")

# Read the content of the README file
readme_content=$(cat "$readme_file")

# Combine the YAML content and README content
combined_content="$yaml_content\n$readme_content"

# Overwrite the README file with the combined content
echo -e "$combined_content" > "$readme_file"